#22164 [Opn]: $_GET decodes URL encoding incorrectly
| From: | arachnid at notdot dot net | Date: | Tue, 11 Feb 2003 11:42:04 +0000 |
| Subject: | #22164 [Opn]: $_GET decodes URL encoding incorrectly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32752@lists.php.net to get a copy of this message | ||
ID: 22164
User updated by: arachnid@notdot.net
Reported By: arachnid@notdot.net
Status: Open
Bug Type: URL related
Operating System: Linux
PHP Version: 4.2.3
New Comment:
urldecode("%5c") correctly returns "\".
Previous Comments:
------------------------------------------------------------------------
[2003-02-11 05:38:15] arachnid@notdot.net
When calling a script with a parameter such as "script.php?test=%5C"
(5C is ASCII for '\'), $_GET['test'] incorrectly returns '\\' instead
of '\'.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22164&edit=1