]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 431744: "Change Columns" URL contained more than 3x the characters in the base...
authormkanat%bugzilla.org <>
Tue, 20 Jan 2009 20:18:47 +0000 (20:18 +0000)
committermkanat%bugzilla.org <>
Tue, 20 Jan 2009 20:18:47 +0000 (20:18 +0000)
Patch By Michael J Tosh <michael.j.tosh@lmco.com> r=mkanat, a=mkanat

Bugzilla/CGI.pm

index 6d6ab575c5b4b9c2bdcb8926fd5ea6c5703aaba3..68d3ef69d14e6179aacbe0e8af51c2760528063a 100644 (file)
@@ -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)) {