note 87781 deleted from function.urldecode by danbrown

From: Date: Sun, 21 Dec 2008 17:35:08 +0000
Subject: note 87781 deleted from function.urldecode by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-148430@lists.php.net to get a copy of this message
Note Submitter: Anon Sricharoenchai ---- Let's consider the following example, * %u0E01 * %25%750E01 Using another function to decode %uXXXX after urldecode() will produce the wrong result, since urldecode() make the above 2 examples to be indistinguishable. $ php -r 'echo urldecode("%u0E01")."\n";' %u0E01 $ php -r 'echo urldecode("%25%750E01")."\n";' %u0E01

« previous php.notes (#148430) next »