mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #31232 -- Changed default SECURE_REFERRER_POLICY to 'same-origin'.
This commit is contained in:
committed by
Mariusz Felisiak
parent
7fa1a93c6c
commit
72b97a5b1e
@@ -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',
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user