mirror of
https://github.com/jrconlin/oauthsimple.git
synced 2026-09-14 18:44:04 +00:00
added convert for '+' to '%20' in encode
This commit is contained in:
@@ -297,6 +297,7 @@ class OAuthSimple {
|
||||
if (is_array($string))
|
||||
throw new OAuthSimpleException('Array passed to _oauthEscape');
|
||||
$string = urlencode($string);
|
||||
$string = str_replace('+','%20',$string);
|
||||
$string = str_replace('!','%21',$string);
|
||||
$string = str_replace('*','%2A',$string);
|
||||
$string = str_replace('\'','%27',$string);
|
||||
|
||||
Reference in New Issue
Block a user