chore: release v4.6.0 (#107)

Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-03-25 09:30:30 +01:00 committed by GitHub
parent 80a0b554f0
commit ffe625d8b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 15 additions and 6 deletions

3
dist/gha/index.js vendored
View file

@ -7621,6 +7621,7 @@ var preservedUrlFields = [
"protocol",
"query",
"search",
"hash",
];
// Create handlers that pass events from native requests
@ -8054,7 +8055,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