Commit 24d4f4b9 by Paul Klimov

Signature base string generation for the OAuth1 fixed.

parent 3c8c8551
......@@ -298,6 +298,7 @@ class OAuth1 extends BaseOAuth
protected function composeSignatureBaseString($method, $url, array $params)
{
unset($params['oauth_signature']);
uksort($params, 'strcmp'); // Parameters are sorted by name, using lexicographical byte value ordering. Ref: Spec: 9.1.1
$parts = [
strtoupper($method),
$url,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment