From ec2e8dec8f59fc73e7a88e4e874d9f8be1f9f83f Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Wed, 27 Jun 2012 07:00:46 +0000 Subject: [PATCH] Fix test failures caused by Bug 762787 git-svn-id: svn://10.0.0.236/trunk@263993 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/Bugzilla/Constants.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index df32f5a8646..37094c7c00b 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8275 \ No newline at end of file +8276 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/Constants.pm b/mozilla/webtools/bugzilla/Bugzilla/Constants.pm index 59e67faa541..f4c1d89d1fe 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Constants.pm +++ b/mozilla/webtools/bugzilla/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