#22164 [Opn->Bgs]: $_GET decodes URL encoding incorrectly

From: Date: Tue, 11 Feb 2003 12:21:35 +0000
Subject: #22164 [Opn->Bgs]: $_GET decodes URL encoding incorrectly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32754@lists.php.net to get a copy of this message
ID: 22164 Updated by: moriyoshi@php.net Reported By: arachnid@notdot.net -Status: Open +Status: Bogus Bug Type: URL related Operating System: Linux PHP Version: 4.2.3 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php magic_quotes_gpc. Previous Comments: ------------------------------------------------------------------------ [2003-02-11 05:42:03] arachnid@notdot.net urldecode("%5c") correctly returns "\". ------------------------------------------------------------------------ [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

« previous php.bugs (#32754) next »