From: timeless%mac.com <> Date: Mon, 3 Jun 2002 09:48:05 +0000 (+0000) Subject: Bug 148674 Boolean Charts don't work in Netpositive because '-' is sent as '%2D X-Git-Tag: bugzilla-2.16rc2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adae0362d2c587612b6c0e96299d1806b1fb351d;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 5a796d1829..04a683a472 100644 --- 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 = ""; }