mirror of
https://code.forgejo.org/actions/git-backporting.git
synced 2025-05-30 01:14:29 -04:00
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:
parent
6d9b9db590
commit
0a07bf30c8
5 changed files with 22 additions and 7 deletions
3
dist/gha/index.js
vendored
3
dist/gha/index.js
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue