]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 148674 Boolean Charts don't work in Netpositive because '-' is sent as '%2D
authortimeless%mac.com <>
Mon, 3 Jun 2002 09:48:05 +0000 (09:48 +0000)
committertimeless%mac.com <>
Mon, 3 Jun 2002 09:48:05 +0000 (09:48 +0000)
This makes CGI.pl closer to CGI.pm by having it unescape the name field in addition to the value field.
r=preed,justdave

CGI.pl

diff --git a/CGI.pl b/CGI.pl
index 5a796d182904bd9fb1c95453fb0e45a61ab65792..04a683a47296da204458168342a138c389c9ec72 100644 (file)
--- a/CGI.pl
+++ b/CGI.pl
@@ -114,10 +114,10 @@ sub ParseUrlString {
         my $name;
         my $value;
         if ($item =~ /^([^=]*)=(.*)$/) {
-            $name = $1;
+            $name = url_decode($1);
             $value = url_decode($2);
         } else {
-            $name = $item;
+            $name = url_decode($item);
             $value = "";
         }