Commits

Roberto Dominguez committed 9196776

AC-772 change back to handle the single quote, as opposed to double quote.

  • Participants
  • Parent commits 0aee15d

Comments (0)

Files changed (1)

File lib/internal/oauth.js

     var result = encodeURIComponent(toEncode);
     // Fix the mismatch between OAuth's RFC3986's and Javascript's beliefs in what is right and wrong ;)
     return result.replace(/!/g, '%21')
-      .replace(/"/g, '%27')
+      .replace(/'/g, '%27')
       .replace(/\(/g, '%28')
       .replace(/\)/g, '%29')
       .replace(/\*/g, '%2A');