Comparing version 1.6.0 to 1.7.0
@@ -236,4 +236,4 @@ var aws4 = exports, | ||
} else if (!normalizePath || piece !== '.') { | ||
if (decodePath) piece = querystring.unescape(piece) | ||
path.push(encodeRfc3986(querystring.escape(piece))) | ||
if (decodePath) piece = decodeURIComponent(piece) | ||
path.push(encodeRfc3986(encodeURIComponent(piece))) | ||
} | ||
@@ -307,3 +307,3 @@ return path | ||
path = path.split('/').map(function(piece) { | ||
return querystring.escape(querystring.unescape(piece)) | ||
return encodeURIComponent(decodeURIComponent(piece)) | ||
}).join('/') | ||
@@ -310,0 +310,0 @@ } |
{ | ||
"name": "aws4", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "Signs and prepares requests using AWS Signature Version 4", | ||
@@ -5,0 +5,0 @@ "author": "Michael Hart <michael.hart.au@gmail.com> (http://github.com/mhart)", |
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
31916
6