Fixed #31232 -- Changed default SECURE_REFERRER_POLICY to 'same-origin'.

This commit is contained in:
Adam Johnson 2020-02-05 10:02:35 +00:00 committed by Mariusz Felisiak
parent 7fa1a93c6c
commit 72b97a5b1e
4 changed files with 24 additions and 2 deletions

View file

@ -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',
])