note 73641 added to function.urlencode
| From: | sebastiaan at netomzet dot nl | Date: | Mon, 05 Mar 2007 17:04:50 +0000 |
| Subject: | note 73641 added to function.urlencode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124112@lists.php.net to get a copy of this message | ||
quote: "Apache's mod_rewrite and mod_proxy are unable to handle urlencoded URLs properly -
http://issues.apache.org/bugzilla/show_bug.cgi?id=34602"
The most simple solution is to use urlencode twice!
echo urlencode(urlencode($var));
Apache's mod_rewrite will handle it like a normal string using urlencode once.
----
Server IP: 83.137.20.120
Probable Submitter: 62.41.125.42
----
Manual Page -- http://www.php.net/manual/en/function.urlencode.php
Edit -- https://master.php.net/note/edit/73641
Del: integrated -- https://master.php.net/note/delete/73641/integrated
Del: useless -- https://master.php.net/note/delete/73641/useless
Del: bad code -- https://master.php.net/note/delete/73641/bad+code
Del: spam -- https://master.php.net/note/delete/73641/spam
Del: non-english -- https://master.php.net/note/delete/73641/non-english
Del: in docs -- https://master.php.net/note/delete/73641/in+docs
Del: other reasons-- https://master.php.net/note/delete/73641
Reject -- https://master.php.net/note/reject/73641
Search -- https://master.php.net/manage/user-notes.php