mirror of
https://github.com/jrconlin/oauthsimple.git
synced 2026-09-15 02:53:57 +00:00
added escape to PlainText signature
thanks to peorth for spotting that
This commit is contained in:
+1
-1
@@ -403,7 +403,7 @@ class OAuthSimple {
|
||||
switch($this->_parameters['oauth_signature_method'])
|
||||
{
|
||||
case 'PLAINTEXT':
|
||||
return $secretKey;
|
||||
return urlencode($secretKey);
|
||||
|
||||
case 'HMAC-SHA1':
|
||||
$this->sbs = $this->_oauthEscape($this->_action).'&'.$this->_oauthEscape($this->_path).'&'.$this->_oauthEscape($this->_normalizedParameters());
|
||||
|
||||
Reference in New Issue
Block a user