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

Incorrect handling for LOGOUT_URL #54

Open
SunilMohanAdapa opened this issue Aug 11, 2016 · 0 comments
Open

Incorrect handling for LOGOUT_URL #54

SunilMohanAdapa opened this issue Aug 11, 2016 · 0 comments
Labels

Comments

@SunilMohanAdapa
Copy link
Contributor

Django's LOGIN_URL etc. settings can be absolute paths or named URLs. In stronghold, LOGOUT_URL is always treated as an absolute path. If someone provides a LOGOUT_URL value as user:logout. It gets translated to regular expression such ^user:logout$ to be matched against request.path_info.

Django itself handles these URLs with django.shortcuts.resolve_url which resolves both named URLs and absolute paths properly.

@mgrouchy mgrouchy added the bug label Jan 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants