Permalink
Browse files

Remove excess double URL encoding introduced by fixes for issue #64

  • Loading branch information...
ciaranj committed Jul 28, 2012
1 parent 92aa1cf commit b03f6ae424b12dd123a5669a5ef63861dab2a847
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/oauth.js
View
@@ -189,7 +189,7 @@ exports.OAuth.prototype._createSignature= function(signatureBase, tokenSecret) {
if( tokenSecret === undefined ) var tokenSecret= "";
else tokenSecret= this._encodeData( tokenSecret );
// consumerSecret is already encoded
- var key= this._encodeData(this._consumerSecret) + "&" + this._encodeData(tokenSecret);
+ var key= this._consumerSecret + "&" + tokenSecret;
var hash= ""
if( this._signatureMethod == "PLAINTEXT" ) {

0 comments on commit b03f6ae

Please sign in to comment.