Fix zip error when installing update from a private BitBucket repository.
The code that updates the OAuth signature didn't account for the fact that the oauth_signature query parameter would end up in the wrong place. Instead of being sorted alphabetically with the rest of parameters, it must be the *last* one.
This commit is contained in:
parent
5d60e87cb6
commit
0d5de0d4cc
|
|
@ -45,6 +45,7 @@ if ( !class_exists('Puc_v4_OAuthSignature', false) ):
|
|||
'oauth_version' => '1.0',
|
||||
)
|
||||
);
|
||||
unset($parameters['oauth_signature']);
|
||||
|
||||
//Parameters must be sorted alphabetically before signing.
|
||||
ksort($parameters);
|
||||
|
|
|
|||
Loading…
Reference in New Issue