diff options
| author | sujayskumar <sujay.skumar141295@gmail.com> | 2015-06-24 15:41:43 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-27 08:46:23 -0400 |
| commit | 2e70bf37854e39d46557317fb4098da5261618d5 (patch) | |
| tree | c66f7fae67aa8841d9120b7bca5063c7bcc295c4 /docs | |
| parent | a50b66da30320887c23c73927f6b2ab41e0301bf (diff) | |
Fixed #25017 -- Allowed customizing the DISALLOWED_USER_AGENTS response
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.9.txt | 6 |
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 ^^^^^ |
