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

Avoid POST pages when saving URL to return to after login #28

Open
jace opened this issue Nov 17, 2017 · 0 comments
Open

Avoid POST pages when saving URL to return to after login #28

jace opened this issue Nov 17, 2017 · 0 comments

Comments

@jace
Copy link
Member

jace commented Nov 17, 2017

We currently save the current URL when performing a login operation. However, if the current request was anything other than a GET, it can't be returned to. In such a case, we should use the previous URL, determined from the referrer (provided it's on the same domain). Sending the user back to where they came from won't replay the POST (which we want), but will at least send them back to a working URL.

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

No branches or pull requests

1 participant