mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Removed contrib.comments per deprecation timeline.
This commit is contained in:
@@ -13,7 +13,7 @@ Mitigated possible XSS attack via user-supplied redirect URLs
|
||||
-------------------------------------------------------------
|
||||
|
||||
Django relies on user input in some cases (e.g.
|
||||
:func:`django.contrib.auth.views.login`, :mod:`django.contrib.comments`, and
|
||||
:func:`django.contrib.auth.views.login`, ``django.contrib.comments``, and
|
||||
:doc:`i18n </topics/i18n/index>`) to redirect the user to an "on success" URL.
|
||||
The security checks for these redirects (namely
|
||||
``django.util.http.is_safe_url()``) didn't check if the scheme is ``http(s)``
|
||||
|
||||
Reference in New Issue
Block a user