Comparing version 2.41.0 to 2.42.0
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "2.41.0", | ||
"version": "2.42.0", | ||
"author": "Mikeal Rogers <mikeal.rogers@gmail.com>", | ||
@@ -13,0 +13,0 @@ "repository": { |
@@ -414,4 +414,6 @@ var optional = require('./lib/optional') | ||
if (self.proxy.auth && !self.proxyAuthorization) { | ||
var authPieces = self.uri.auth.split(':').map(function(item){ return querystring.unescape(item) }) | ||
var authHeader = 'Basic ' + toBase64(authPieces[0], authPieces.slice(1).join(':')) | ||
var authPieces = self.proxy.auth.split(':').map(function(item){ | ||
return querystring.unescape(item) | ||
}) | ||
var authHeader = 'Basic ' + toBase64(authPieces.join(':')) | ||
self.proxyAuthorization = authHeader | ||
@@ -418,0 +420,0 @@ } |
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
1530
210874