Browse Source

Signature base string generation for the OAuth1 fixed.

tags/2.0.0-beta
Paul Klimov 11 years ago
parent
commit
24d4f4b908
  1. 1
      extensions/yii/authclient/OAuth1.php

1
extensions/yii/authclient/OAuth1.php

@ -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,

Loading…
Cancel
Save