summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.9.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt
index 3a105fd3b6..9b0fbb2a02 100644
--- a/docs/releases/1.9.txt
+++ b/docs/releases/1.9.txt
@@ -452,6 +452,12 @@ Requests and Responses
<django.http.HttpRequest.urlconf>` to ``None`` to revert any changes made
by previous middleware and return to using the :setting:`ROOT_URLCONF`.
+* The :setting:`DISALLOWED_USER_AGENTS` check in
+ :class:`~django.middleware.common.CommonMiddleware` now raises a
+ :class:`~django.core.exceptions.PermissionDenied` exception as opposed to
+ returning an :class:`~django.http.HttpResponseForbidden` so that
+ :data:`~django.conf.urls.handler403` is invoked.
+
Tests
^^^^^