mirror of
https://github.com/django/django.git
synced 2025-08-02 18:13:02 +00:00
Fixed #31232 -- Changed default SECURE_REFERRER_POLICY to 'same-origin'.
This commit is contained in:
parent
7fa1a93c6c
commit
72b97a5b1e
4 changed files with 24 additions and 2 deletions
|
@ -38,6 +38,7 @@ class TestStartProjectSettings(SimpleTestCase):
|
|||
self.assertEqual(headers, [
|
||||
b'Content-Length: 0',
|
||||
b'Content-Type: text/html; charset=utf-8',
|
||||
b'Referrer-Policy: same-origin',
|
||||
b'X-Content-Type-Options: nosniff',
|
||||
b'X-Frame-Options: DENY',
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue