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 XSRF issue in logout handler #5

Open
Arachnid opened this issue Dec 18, 2009 · 1 comment
Open

Handle XSRF issue in logout handler #5

Arachnid opened this issue Dec 18, 2009 · 1 comment

Comments

@Arachnid
Copy link
Owner

Currently the user could be forced to log out with a request to the logout URL. We need to add XSRF protection against this.

@EvanK
Copy link
Contributor

EvanK commented Feb 16, 2010

Maybe I don't understand this issue, but couldn't you just verify, in the LogoutHandler, that the HTTP_REFERER matches the current host? (And if they don't match, show an interstitial page asking if they really want to log out)

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

2 participants