Remove excess double URL encoding introduced by fixes for issue #64
This commit is contained in:
parent
92aa1cf2c2
commit
b03f6ae424
@ -189,7 +189,7 @@ exports.OAuth.prototype._createSignature= function(signatureBase, tokenSecret) {
|
|||||||
if( tokenSecret === undefined ) var tokenSecret= "";
|
if( tokenSecret === undefined ) var tokenSecret= "";
|
||||||
else tokenSecret= this._encodeData( tokenSecret );
|
else tokenSecret= this._encodeData( tokenSecret );
|
||||||
// consumerSecret is already encoded
|
// consumerSecret is already encoded
|
||||||
var key= this._encodeData(this._consumerSecret) + "&" + this._encodeData(tokenSecret);
|
var key= this._consumerSecret + "&" + tokenSecret;
|
||||||
|
|
||||||
var hash= ""
|
var hash= ""
|
||||||
if( this._signatureMethod == "PLAINTEXT" ) {
|
if( this._signatureMethod == "PLAINTEXT" ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user