From 036e529f14f56e18edeb1f43bfdfd0842be35ceb Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Tue, 23 Apr 2024 10:09:37 -0400 Subject: [PATCH] dist: Rebuild for dependency update --- dist/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 83af0542..66149853 100644 --- a/dist/index.js +++ b/dist/index.js @@ -15878,6 +15878,7 @@ var preservedUrlFields = [ "protocol", "query", "search", + "hash", ]; // Create handlers that pass events from native requests @@ -16311,7 +16312,7 @@ RedirectableRequest.prototype._processResponse = function (response) { redirectUrl.protocol !== "https:" || redirectUrl.host !== currentHost && !isSubdomain(redirectUrl.host, currentHost)) { - removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers); + removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers); } // Evaluate the beforeRedirect callback