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:
MarkoV
2015-01-10 00:25:33 +00:00
parent a61a8381a9
commit 8c85c50e13
+2 -2
View File
@@ -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'])
{