Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit b03f6ae424b12dd123a5669a5ef63861dab2a847 1 parent 92aa1cf
@ciaranj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/oauth.js
View
2  lib/oauth.js
@@ -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" ) {
Please sign in to comment.
Something went wrong with that request. Please try again.