summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorSimon Green <sgreen+mozilla@redhat.com>2012-06-27 08:32:00 +0200
committerByron Jones <bjones@mozilla.com>2012-06-27 08:32:00 +0200
commitbc714c55c5fee102732b34d05f5d94f7cbbf5c6a (patch)
tree239f0fe16b9229bf00e8bb30a7a12ced258c1750 /Bugzilla
parent1041be73d9197835e55925248fdb5c37c61fd941 (diff)
downloadbugzilla-bc714c55c5fee102732b34d05f5d94f7cbbf5c6a.tar.gz
bugzilla-bc714c55c5fee102732b34d05f5d94f7cbbf5c6a.tar.xz
Bug 762787: Reduce CGI_URI_LIMIT from 8000 to 2083 (IE only)
r=glob, a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Constants.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index b096cc3bb..59e67faa5 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -568,7 +568,8 @@ use constant PASSWORD_SALT_LENGTH => 8;
# Certain scripts redirect to GET even if the form was submitted originally
# 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.
-use constant CGI_URI_LIMIT => 8000;
+# See http://support.microsoft.com/kb/208427 for why MSIE is different
+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