Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Redirect not working when Location contains relative url #3886

Open
allenyin96 opened this issue Oct 7, 2019 · 0 comments
Open

Redirect not working when Location contains relative url #3886

allenyin96 opened this issue Oct 7, 2019 · 0 comments

Comments

@allenyin96
Copy link

This line assumes that the location header contains absolute URL, when it could also contain relative URL (see this section of RFC 7231).

This assumption results in the redirect requests failures when location header contains relative path because it doesn't contain host and etc. as the code is expecting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant