note 63227 added to function.urldecode
| From: | blue-wildebeest dot blogspot dot com at osu1 dot php dot net | Date: | Thu, 16 Mar 2006 14:20:39 +0000 |
| Subject: | note 63227 added to function.urldecode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-105929@lists.php.net to get a copy of this message | ||
Don't fix the bad data submitted by the Javascript escape(), rather use encodeURIComponent()
instead. That way, the POST or GET variable will be correct in PHP.
http://blue-wildebeest.blogspot.com/2006/03/you-cannot-escape.html
----
Server IP: 66.163.161.117
Probable Submitter: 165.145.51.17
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.urldecode.php
Edit -- http://master.php.net/note/edit/63227
Del: integrated -- http://master.php.net/note/delete/63227/integrated
Del: useless -- http://master.php.net/note/delete/63227/useless
Del: bad code -- http://master.php.net/note/delete/63227/bad+code
Del: spam -- http://master.php.net/note/delete/63227/spam
Del: non-english -- http://master.php.net/note/delete/63227/non-english
Del: in docs -- http://master.php.net/note/delete/63227/in+docs
Del: other reasons-- http://master.php.net/note/delete/63227
Reject -- http://master.php.net/note/reject/63227
Search -- http://master.php.net/manage/user-notes.php