[3.0.x] Improved grammar in 3.0 release notes for SECURE_CONTENT_TYPE_NOSNIFF change.
Backport of de1924e0e7499535f05298c46d9983fd1640d4b4 from master
This commit is contained in:
parent
0bf1330fe4
commit
9b36348665
@ -330,9 +330,8 @@ Security
|
|||||||
uses frames of itself, you will need to explicitly set ``X_FRAME_OPTIONS =
|
uses frames of itself, you will need to explicitly set ``X_FRAME_OPTIONS =
|
||||||
'SAMEORIGIN'`` for them to continue working.
|
'SAMEORIGIN'`` for them to continue working.
|
||||||
|
|
||||||
* :setting:`SECURE_CONTENT_TYPE_NOSNIFF` setting now defaults to ``True``. With
|
* :setting:`SECURE_CONTENT_TYPE_NOSNIFF` now defaults to ``True``. With this
|
||||||
the enabled :setting:`SECURE_CONTENT_TYPE_NOSNIFF`, the
|
enabled, :class:`~django.middleware.security.SecurityMiddleware` sets the
|
||||||
:class:`~django.middleware.security.SecurityMiddleware` sets the
|
|
||||||
:ref:`x-content-type-options` header on all responses that do not already
|
:ref:`x-content-type-options` header on all responses that do not already
|
||||||
have it.
|
have it.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user