chore: release v4.7.0

This commit is contained in:
Create or Update Pull Request Action 2024-04-02 09:21:24 +00:00 committed by lampajr
parent 6d9b9db590
commit 18e39f0286
5 changed files with 22 additions and 7 deletions

3
dist/gha/index.js vendored
View file

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