Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Carry over Host header on relative redirects (#172)
- Set redirectUrl host from host header if relative redirect. - Clarify logic to operate on host instead of hostname to keep/remove Host and Authorization headers. Host header is hostname+port. Co-authored-by: Steven Marusa <steve.marusa@skillsoft.com> Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
- Loading branch information
1 parent
77e2a58
commit 2ad9e82
Showing
2 changed files
with
86 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters