chore: release v4.6.0

This commit is contained in:
Create or Update Pull Request Action 2024-03-25 08:25:49 +00:00 committed by lampajr
parent 80a0b554f0
commit 9b909df0d2
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