mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #17209 -- Removed login/logout and password reset/change function-based views.
Per deprecation timeline.
This commit is contained in:
@@ -10,7 +10,7 @@ CVE-2016-2512: Malicious redirect and possible XSS attack via user-supplied redi
|
||||
===============================================================================================================
|
||||
|
||||
Django relies on user input in some cases (e.g.
|
||||
:func:`django.contrib.auth.views.login` and :doc:`i18n </topics/i18n/index>`)
|
||||
``django.contrib.auth.views.login()`` and :doc:`i18n </topics/i18n/index>`)
|
||||
to redirect the user to an "on success" URL. The security check for these
|
||||
redirects (namely ``django.utils.http.is_safe_url()``) considered some URLs
|
||||
with basic authentication credentials "safe" when they shouldn't be.
|
||||
|
||||
Reference in New Issue
Block a user