From: timeless%mac.com <> Date: Tue, 4 Jun 2002 06:04:44 +0000 (+0000) Subject: Bug 148674 Boolean Charts don't work in Netpositive because '-' is sent as '%2D X-Git-Tag: bugzilla-2.14.3~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deb1b375450685beb19783fa928033de3ac2749d;p=thirdparty%2Fbugzilla.git Bug 148674 Boolean Charts don't work in Netpositive because '-' is sent as '%2D This makes CGI.pl closer to CGI.pm by having it unescape the name field in addition to the value field. r=preed,justdave --- diff --git a/CGI.pl b/CGI.pl index a06c39f4fa..6dd9e7ee73 100644 --- a/CGI.pl +++ b/CGI.pl @@ -109,10 +109,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 = ""; } if ($value ne "") {