mirror of
https://github.com/jrconlin/oauthsimple.git
synced 2026-09-15 02:53:57 +00:00
Merge pull request #7 from dtb/master
Use rawurlencode instead of urlencode
This commit is contained in:
+1
-1
@@ -330,7 +330,7 @@ class OAuthSimple {
|
||||
return '';
|
||||
if (is_array($string))
|
||||
throw new OAuthSimpleException('Array passed to _oauthEscape');
|
||||
$string = urlencode($string);
|
||||
$string = rawurlencode($string);
|
||||
$string = str_replace('+','%20',$string);
|
||||
$string = str_replace('!','%21',$string);
|
||||
$string = str_replace('*','%2A',$string);
|
||||
|
||||
Reference in New Issue
Block a user