chore: release v4.7.0 (#117)

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-04-02 11:23:43 +02:00 committed by GitHub
parent 6d9b9db590
commit 0a07bf30c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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