From adae0362d2c587612b6c0e96299d1806b1fb351d Mon Sep 17 00:00:00 2001 From: "timeless%mac.com" <> Date: Mon, 3 Jun 2002 09:48:05 +0000 Subject: [PATCH] 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(-) 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 = ""; } -- 2.47.2