Skip to content

Commit

Permalink
Merge pull request #49 from humanitec/dependabot/npm_and_yarn/follow-…
Browse files Browse the repository at this point in the history
…redirects-1.15.6

chore(deps): bump follow-redirects from 1.15.4 to 1.15.6
  • Loading branch information
johanneswuerbach authored Mar 21, 2024
2 parents 56dd0d0 + 5c79652 commit bafac70
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24549,6 +24549,7 @@ var preservedUrlFields = [
"protocol",
"query",
"search",
"hash",
];

// Create handlers that pass events from native requests
Expand Down Expand Up @@ -24982,7 +24983,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
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bafac70

Please sign in to comment.