summaryrefslogtreecommitdiffstats
path: root/Bugzilla/CGI.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-01-20 21:18:47 +0100
committermkanat%bugzilla.org <>2009-01-20 21:18:47 +0100
commit8daa29c602f8409beab723c955405a501ab649d3 (patch)
tree8d2fdc842db391df4677a0a4163a1fd1a73db24c /Bugzilla/CGI.pm
parent5c76819f088805d6a3b483b00c34850eb766025a (diff)
downloadbugzilla-8daa29c602f8409beab723c955405a501ab649d3.tar.gz
bugzilla-8daa29c602f8409beab723c955405a501ab649d3.tar.xz
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
Diffstat (limited to 'Bugzilla/CGI.pm')
-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)) {