From 9985608aaca69b8f61f22146c81c4773078e35ad Mon Sep 17 00:00:00 2001 From: "timeless%mac.com" <> Date: Mon, 3 Jun 2002 09:42:00 +0000 Subject: 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 --- CGI.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CGI.pl') diff --git a/CGI.pl b/CGI.pl index 5a796d182..04a683a47 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 = ""; } -- cgit v1.2.3-24-g4f1b