summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-02-05 11:46:14 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-02-05 12:46:42 +0100
commit9b3634866583da8f1bf1710ba509d151d0fcbe11 (patch)
tree6b70f17ff396dbe877453699c3f6c12b846122c3
parent0bf1330fe41e9a8ce04806c764fd5c90e1bafe5d (diff)
[3.0.x] Improved grammar in 3.0 release notes for SECURE_CONTENT_TYPE_NOSNIFF change.
Backport of de1924e0e7499535f05298c46d9983fd1640d4b4 from master
-rw-r--r--docs/releases/3.0.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt
index f133c58654..50c98ade58 100644
--- a/docs/releases/3.0.txt
+++ b/docs/releases/3.0.txt
@@ -330,9 +330,8 @@ Security
uses frames of itself, you will need to explicitly set ``X_FRAME_OPTIONS =
'SAMEORIGIN'`` for them to continue working.
-* :setting:`SECURE_CONTENT_TYPE_NOSNIFF` setting now defaults to ``True``. With
- the enabled :setting:`SECURE_CONTENT_TYPE_NOSNIFF`, the
- :class:`~django.middleware.security.SecurityMiddleware` sets the
+* :setting:`SECURE_CONTENT_TYPE_NOSNIFF` now defaults to ``True``. With this
+ enabled, :class:`~django.middleware.security.SecurityMiddleware` sets the
:ref:`x-content-type-options` header on all responses that do not already
have it.