From 88d2063361fc7d168789685db6d5cb1151b1cc44 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 27 Jun 2012 14:48:55 +0800 Subject: Fix test failures caused by Bug 762787 --- Bugzilla/Constants.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 59e67faa5..f4c1d89d1 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -569,7 +569,7 @@ use constant PASSWORD_SALT_LENGTH => 8; # via POST such as buglist.cgi. This value determines whether the redirect # can be safely done or not based on the web server's URI length setting. # See http://support.microsoft.com/kb/208427 for why MSIE is different -use constant CGI_URI_LIMIT => $ENV{'HTTP_USER_AGENT'} =~ /MSIE/ ? 2083 : 8000; +use constant CGI_URI_LIMIT => ($ENV{'HTTP_USER_AGENT'} || '') =~ /MSIE/ ? 2083 : 8000; # If the user isn't allowed to change a field, we must tell him who can. # We store the required permission set into the $PrivilegesRequired -- cgit v1.2.3-24-g4f1b