note 53388 added to function.rawurlencode

From: Date: Tue, 31 May 2005 08:38:22 +0000
Subject: note 53388 added to function.rawurlencode
Groups: php.notes 
Request: Send a blank email to php-notes+get-89662@lists.php.net to get a copy of this message
The microsoft URLEncode method ignores the documentation in RFC1738 which states that: ".... the special characters "$-_.+!*'(),", and reserved characters used for their reserved purposes may be used unencoded within a URL" So for example, myaddress@mydomain.com becomes myaddress%40mydomain%2Ecom, whereas php and other languages would encode this as myaddress%40mydomain.com This can be an issue when porting from asp or if you are doing string comparison of strings urlencoded on different platforms. NB. php will correctly decode myaddress%40mydomain%2Ecom to myaddress@mydomain.com, it is only the encoding that differs ---- Manual Page -- http://www.php.net/manual/en/function.rawurlencode.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+53388 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53388&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53388&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53388&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53388&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53388&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+53388&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#89662) next »