aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-01-20 20:18:47 +0000
committermkanat%bugzilla.org <>2009-01-20 20:18:47 +0000
commit8daa29c602f8409beab723c955405a501ab649d3 (patch)
tree8d2fdc842db391df4677a0a4163a1fd1a73db24c
parentBug 134022: PERFORMANCE: deleting old login cookies locks login checks (diff)
downloadbugzilla-8daa29c602f8409beab723c955405a501ab649d3.tar.gz
bugzilla-8daa29c602f8409beab723c955405a501ab649d3.tar.bz2
bugzilla-8daa29c602f8409beab723c955405a501ab649d3.zip
Bug 431744: "Change Columns" URL contained more than 3x the characters in the base buglist.cgi URL
Patch By Michael J Tosh <michael.j.tosh@lmco.com> r=mkanat, a=mkanat
-rw-r--r--Bugzilla/CGI.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index 6d6ab575c..68d3ef69d 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -109,6 +109,10 @@ sub canonicalise_query {
# Leave this key out if it's in the exclude list
next if lsearch(\@exclude, $key) != -1;
+ # Remove the Boolean Charts for standard query.cgi fields
+ # They are listed in the query URL already
+ next if $key =~ /^(field|type|value)(-\d+){3}$/;
+
my $esc_key = url_quote($key);
foreach my $value ($self->param($key)) {