Skip to content

Commit 4d5f12e

Browse files
Bump follow-redirects from 1.15.4 to 1.15.6 (#404)
* Bump follow-redirects from 1.15.4 to 1.15.6 Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.4...v1.15.6) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * dist: Rebuild for dependency update --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brian Flad <[email protected]>
1 parent 97f030c commit 4d5f12e

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15878,6 +15878,7 @@ var preservedUrlFields = [
1587815878
"protocol",
1587915879
"query",
1588015880
"search",
15881+
"hash",
1588115882
];
1588215883

1588315884
// Create handlers that pass events from native requests
@@ -16311,7 +16312,7 @@ RedirectableRequest.prototype._processResponse = function (response) {
1631116312
redirectUrl.protocol !== "https:" ||
1631216313
redirectUrl.host !== currentHost &&
1631316314
!isSubdomain(redirectUrl.host, currentHost)) {
16314-
removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);
16315+
removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);
1631516316
}
1631616317

1631716318
// Evaluate the beforeRedirect callback

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)