Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix redirects to an empty location #435

Merged
merged 1 commit into from
Feb 21, 2018
Merged

Fix redirects to an empty location #435

merged 1 commit into from
Feb 21, 2018

Conversation

dakrone
Copy link
Owner

@dakrone dakrone commented Feb 21, 2018

In some cases a server can respond with a redirect to an invalid location (like
"https:///"). With an async request, this leads to the request hanging forever.

This adds an option to do rudimentary validation of the redirect host in the
redirect stragety itself, with an option (:validate-redirects) to turn it off.

Resolves #416

In some cases a server can respond with a redirect to an invalid location (like
"https:///"). With an async request, this leads to the request hanging forever.

This adds an option to do rudimentary validation of the redirect host in the
redirect stragety itself, with an option (`:validate-redirects`) to turn it off.

Resolves #416
@dakrone dakrone merged commit 74d24b5 into master Feb 21, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant