mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #26956 -- Allowed is_safe_url() to validate against multiple hosts
This commit is contained in:
@@ -30,6 +30,9 @@ details on these changes.
|
||||
* ``django.core.cache.backends.memcached.PyLibMCCache`` will no longer support
|
||||
passing ``pylibmc`` behavior settings as top-level attributes of ``OPTIONS``.
|
||||
|
||||
* The ``host`` parameter of ``django.utils.http.is_safe_url()`` will be
|
||||
removed.
|
||||
|
||||
.. _deprecation-removed-in-2.0:
|
||||
|
||||
2.0
|
||||
|
||||
@@ -520,3 +520,6 @@ Miscellaneous
|
||||
* For the ``PyLibMCCache`` cache backend, passing ``pylibmc`` behavior settings
|
||||
as top-level attributes of ``OPTIONS`` is deprecated. Set them under a
|
||||
``behaviors`` key within ``OPTIONS`` instead.
|
||||
|
||||
* The ``host`` parameter of ``django.utils.http.is_safe_url()`` is deprecated
|
||||
in favor of the new ``allowed_hosts`` parameter.
|
||||
|
||||
Reference in New Issue
Block a user