summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-06-27 08:48:55 +0200
committerByron Jones <bjones@mozilla.com>2012-06-27 08:48:55 +0200
commit88d2063361fc7d168789685db6d5cb1151b1cc44 (patch)
treec7d52520e09fca0260a454b257f7267de10a76bd /Bugzilla
parentbc714c55c5fee102732b34d05f5d94f7cbbf5c6a (diff)
downloadbugzilla-88d2063361fc7d168789685db6d5cb1151b1cc44.tar.gz
bugzilla-88d2063361fc7d168789685db6d5cb1151b1cc44.tar.xz
Fix test failures caused by Bug 762787
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Constants.pm2
1 files changed, 1 insertions, 1 deletions
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