diff --git a/dist/lib/apiGatewayCore/sigV4Client.js b/dist/lib/apiGatewayCore/sigV4Client.js index 4a2c67c..3ed172c 100755 --- a/dist/lib/apiGatewayCore/sigV4Client.js +++ b/dist/lib/apiGatewayCore/sigV4Client.js @@ -87,9 +87,9 @@ sigV4ClientFactory.newClient = function (config) { return canonicalQueryString.substr(0, canonicalQueryString.length - 1); } - function fixedEncodeURIComponent(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { - return '%' + c.charCodeAt(0).toString(16); + function fixedEncodeURIComponent (str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function(c) { + return '%' + c.charCodeAt(0).toString(16).toUpperCase(); }); }