Comparing version 1.10.1 to 1.10.2
@@ -64,3 +64,3 @@ var aws4 = exports, | ||
RequestSigner.prototype.matchHost = function(host) { | ||
var match = (host || '').match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/) | ||
var match = (host || '').match(/([^\.]{1,63})\.(?:([^\.]{0,63})\.)?amazonaws\.com(\.cn)?$/) | ||
var hostParts = (match || []).slice(1, 3) | ||
@@ -67,0 +67,0 @@ |
{ | ||
"name": "aws4", | ||
"version": "1.10.1", | ||
"version": "1.10.2", | ||
"description": "Signs and prepares requests using AWS Signature Version 4", | ||
@@ -5,0 +5,0 @@ "author": "Michael Hart <michael.hart.au@gmail.com> (https://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
21519