summaryrefslogtreecommitdiff
path: root/tests/project_template
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-02-05 10:02:35 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-02-05 14:39:01 +0100
commit72b97a5b1e22f5d464045be2e33f0436fa8061d3 (patch)
treef07339168dd9fd228f9d3eab12046cc545e93b88 /tests/project_template
parent7fa1a93c6c8109010a6ff3f604fda83b604e0e97 (diff)
Fixed #31232 -- Changed default SECURE_REFERRER_POLICY to 'same-origin'.
Diffstat (limited to 'tests/project_template')
-rw-r--r--tests/project_template/test_settings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/project_template/test_settings.py b/tests/project_template/test_settings.py
index 5617f4a943..e8d466938d 100644
--- a/tests/project_template/test_settings.py
+++ b/tests/project_template/test_settings.py
@@ -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',
])