Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Clear Authorization header when redirecting cross-site #183

Merged
merged 12 commits into from
Feb 4, 2019

Conversation

kyoshidajp
Copy link
Contributor

Fixed the issue that Authorization header remains during redirect to cross-site.

This PR is related to #81. I added the commit that clear header only redirect to cross-site and that spec.

Copy link
Member

@iMacTia iMacTia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @kyoshidajp, sorry for the late review but I completely missed your PR 🙈
Left some comments, happy to review again once they've been addressed 👍

lib/faraday_middleware/response/follow_redirects.rb Outdated Show resolved Hide resolved
lib/faraday_middleware/response/follow_redirects.rb Outdated Show resolved Hide resolved
spec/unit/follow_redirects_spec.rb Outdated Show resolved Hide resolved
lib/faraday_middleware/response/follow_redirects.rb Outdated Show resolved Hide resolved
@iMacTia iMacTia merged commit a46ae1a into lostisland:master Feb 4, 2019
@kyoshidajp
Copy link
Contributor Author

@iMacTia Thank you for reviewing!

@kyoshidajp kyoshidajp deleted the clear-auth-header branch February 4, 2019 12:39
@iMacTia
Copy link
Member

iMacTia commented Feb 4, 2019

@kyoshidajp Thanks to you for contributing 🙌 !

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.

None yet

4 participants