X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/898cc828dd1f1167f85abbf35c8e3f0ed640ac1e..10161fb41b22286008c91507d7f0b0c7ee453537:/vendor/assets/ohauth/ohauth.js diff --git a/vendor/assets/ohauth/ohauth.js b/vendor/assets/ohauth/ohauth.js index 0497da87c..419fb2a1a 100644 --- a/vendor/assets/ohauth/ohauth.js +++ b/vendor/assets/ohauth/ohauth.js @@ -4,8 +4,8 @@ var ohauth = {}; ohauth.qsString = function(obj) { return Object.keys(obj).sort().map(function(key) { - return encodeURIComponent(key) + '=' + - encodeURIComponent(obj[key]); + return ohauth.percentEncode(key) + '=' + + ohauth.percentEncode(obj[key]); }).join('&'); };