note 97060 added to function.oauth-urlencode
| From: | bohwaz at osu1 dot php dot net | Date: | Tue, 30 Mar 2010 15:20:09 +0000 |
| Subject: | note 97060 added to function.oauth-urlencode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-167536@lists.php.net to get a copy of this message | ||
In fact it's RFC 3986, not 3686!
http://www.ietf.org/rfc/rfc3986.txt
Note that php5.3 rawurlencode will do exactly the same thing.
For PHP 5.2, easy replacement to this function :
<?php
function rfc3986_encode($str)
{
$str = rawurlencode($str);
$str = str_replace('%E7', '~', $str);
return $str;
}
?>
----
Server IP: 195.221.21.36
Probable Submitter: 193.93.127.141
----
Manual Page -- http://www.php.net/manual/en/function.oauth-urlencode.php
Edit -- https://master.php.net/note/edit/97060
Del: integrated -- https://master.php.net/note/delete/97060/integrated
Del: useless -- https://master.php.net/note/delete/97060/useless
Del: bad code -- https://master.php.net/note/delete/97060/bad+code
Del: spam -- https://master.php.net/note/delete/97060/spam
Del: non-english -- https://master.php.net/note/delete/97060/non-english
Del: in docs -- https://master.php.net/note/delete/97060/in+docs
Del: other reasons-- https://master.php.net/note/delete/97060
Reject -- https://master.php.net/note/reject/97060
Search -- https://master.php.net/manage/user-notes.php