follow-redirects
Advanced tools
Comparing version 1.14.6 to 1.14.7
@@ -395,5 +395,5 @@ var url = require("url"); | ||
// Drop the Authorization header if redirecting to another domain | ||
// Drop the confidential headers when redirecting to another domain | ||
if (!(redirectUrlParts.host === currentHost || isSubdomainOf(redirectUrlParts.host, currentHost))) { | ||
removeMatchingHeaders(/^authorization$/i, this._options.headers); | ||
removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers); | ||
} | ||
@@ -400,0 +400,0 @@ |
{ | ||
"name": "follow-redirects", | ||
"version": "1.14.6", | ||
"version": "1.14.7", | ||
"description": "HTTP and HTTPS modules that follow redirects.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
26531