summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-21 06:30:58 +0200
committerlpsolit%gmail.com <>2005-07-21 06:30:58 +0200
commit69ec0a28fd6b83f7001027dbc60ffa6b8e6b27bb (patch)
tree06b27ec88a90374827aa9d774e865f3917fef177 /CGI.pl
parentb8a33eb39a2fb1e994f84dc013440375b9f45dcc (diff)
downloadbugzilla-69ec0a28fd6b83f7001027dbc60ffa6b8e6b27bb.tar.gz
bugzilla-69ec0a28fd6b83f7001027dbc60ffa6b8e6b27bb.tar.xz
Bug 301458: Move url_decode out of CGI.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl8
1 files changed, 0 insertions, 8 deletions
diff --git a/CGI.pl b/CGI.pl
index a5f369f81..9c65efdf2 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -55,14 +55,6 @@ use vars qw($template $vars);
# Implementations of several of the below were blatently stolen from CGI.pm,
# by Lincoln D. Stein.
-# Get rid of all the %xx encoding and the like from the given URL.
-sub url_decode {
- my ($todecode) = (@_);
- $todecode =~ tr/+/ /; # pluses become spaces
- $todecode =~ s/%([0-9a-fA-F]{2})/pack("c",hex($1))/ge;
- return $todecode;
-}
-
# check and see if a given field exists, is non-empty, and is set to a
# legal value. assume a browser bug and abort appropriately if not.
# if $legalsRef is not passed, just check to make sure the value exists and