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

Handle login redirects via Referer not ?next param. #279

Merged
merged 8 commits into from
Sep 22, 2014

Conversation

miketaylr
Copy link
Member

There's a lot going on in this branch... I didn't do a good job of keeping it very clean.

But basicaly this redoes the way we handle redirects after logging in to use Referer header rather than blindly accept ?next param (which can be a security problem).

There's some tweaks to tests which are related-ish to the main problem of not being able to log in from a non-index page in tests. That problem isn't solved yet.

miketaylr pushed a commit that referenced this pull request Sep 22, 2014
Handle login redirects via Referer not ?next param.
@miketaylr miketaylr merged commit fd676d6 into dev.webcompat.com Sep 22, 2014
@miketaylr miketaylr deleted the referer branch November 6, 2014 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants