You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: