mirror of
https://github.com/jrconlin/oauthsimple.git
synced 2026-07-28 04:06:51 +00:00
Update OAuthSimple.php
Take two of making signature base string generation according to RFC 5849 (http://tools.ietf.org/html/rfc5849)
This commit is contained in:
+2
-2
@@ -490,8 +490,8 @@ class OAuthSimple {
|
||||
{
|
||||
$secretKey .= self::_oauthEscape($this->_secrets['oauth_secret']);
|
||||
}
|
||||
if(empty($parameters)){
|
||||
$parameters = $this->_normalizedParameters();
|
||||
if(!empty($parameters)){
|
||||
$parameters = urlencode($parameters);
|
||||
}
|
||||
switch($this->_parameters['oauth_signature_method'])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user