From f227b8d15d9d0e0c50eb6459cf4556bccc3fae53 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 26 Jul 2016 20:45:07 -0700 Subject: Refs #26956 -- Allowed is_safe_url() to validate against multiple hosts --- docs/internals/deprecation.txt | 3 +++ docs/releases/1.11.txt | 3 +++ 2 files changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index b983ae1ace..5d93915dc6 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -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 diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index 46bc7f1529..a202232cb6 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -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. -- cgit v1.3