summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimeless%mac.com <>2002-06-03 11:42:00 +0200
committertimeless%mac.com <>2002-06-03 11:42:00 +0200
commit9985608aaca69b8f61f22146c81c4773078e35ad (patch)
tree8db22834476cc8ff419711e1f81f318e1075fe71
parenta71cb94dc0065812d5cab57a90b2fcaac744dcec (diff)
downloadbugzilla-9985608aaca69b8f61f22146c81c4773078e35ad.tar.gz
bugzilla-9985608aaca69b8f61f22146c81c4773078e35ad.tar.xz
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
-rw-r--r--CGI.pl4
1 files changed, 2 insertions, 2 deletions
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 = "";
}