Skip to content

Conversation

jasonheecs
Copy link
Contributor

Summary

Currently, we can create a valid httparty request with a base_uri and a relative path. However, there is an issue where by the request will not be redirected with the http authentication credentials if the request is created this way.

This PR fixes that issue by validating if the host of the uri is the same as the host of the redirect_path

Illustration of problem

With the following Request:

image

image

image

@jnunemaker jnunemaker merged commit ca47360 into jnunemaker:master Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants