aws-api-gateway-client
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -101,3 +101,3 @@ 'use strict'; | ||
for (var i = 0; i < sortedQueryParams.length; i++) { | ||
canonicalQueryString += sortedQueryParams[i] + '=' + encodeURIComponent(queryParams[sortedQueryParams[i]]) + '&'; | ||
canonicalQueryString += sortedQueryParams[i] + '=' + fixedEncodeURIComponent(queryParams[sortedQueryParams[i]]) + '&'; | ||
} | ||
@@ -107,2 +107,8 @@ return canonicalQueryString.substr(0, canonicalQueryString.length - 1); | ||
function fixedEncodeURIComponent(str) { | ||
return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { | ||
return '%' + c.charCodeAt(0).toString(16); | ||
}); | ||
} | ||
function buildCanonicalHeaders(headers) { | ||
@@ -109,0 +115,0 @@ var canonicalHeaders = ''; |
{ | ||
"name": "aws-api-gateway-client", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "A moduel for AWS API Gateway client", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33017
520