diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2016-07-26 20:45:07 -0700 |
|---|---|---|
| committer | Jon Dufresne <jon.dufresne@gmail.com> | 2016-09-07 19:56:25 -0700 |
| commit | f227b8d15d9d0e0c50eb6459cf4556bccc3fae53 (patch) | |
| tree | 7fd8e8634c4904b2928c96af34f5427e7e07bfc0 /docs | |
| parent | 978a00e39fee25cfa99065285b0de88366710fad (diff) | |
Refs #26956 -- Allowed is_safe_url() to validate against multiple hosts
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 | ||||
| -rw-r--r-- | docs/releases/1.11.txt | 3 |
2 files changed, 6 insertions, 0 deletions
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. |
