Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Redirect): Better handle wrong redirect header in a response (#1387)
* Fixed crash when an invalid Location URL is returned from a redirect. Fixes #1386 * CHANGELOG entry * changed catch(e) -> catch(error) to match rest of code, added comment Co-authored-by: Linus Unnebäck <linus@folkdatorn.se> * suppress error on invalid redirect URL when options.redirect == manual Co-authored-by: Tasos Bitsios <tasos.bitsios@import.io> Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
- Loading branch information
1 parent
2d5399e
commit 6e4c1e4
Showing
4 changed files
with
42 additions
and
1 deletion.
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
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