Skip to content

Commit 84e6a32

Browse files
tiftranjaredlockhart
authored andcommitted
changed default for SECURE_REFERER_POLICY fixes #2191 (#2192)
* changed default for SECURE_REFERER_POLICY fixes #2191 * switch to origin default
1 parent 2f19033 commit 84e6a32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎app/experimenter/settings.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331

332332
SESSION_COOKIE_SECURE = config("SESSION_COOKIE_SECURE", default=False, cast=bool)
333333
CSRF_COOKIE_SECURE = config("CSRF_COOKIE_SECURE", default=False, cast=bool)
334-
SECURE_REFERRER_POLICY = config("SECURE_REFERRER_POLICY", default=False)
334+
SECURE_REFERRER_POLICY = config("SECURE_REFERRER_POLICY", default="origin")
335335

336336
# Silenced ssl_redirect and sts checks
337337
SILENCED_SYSTEM_CHECKS = ["security.W008", "security.W004"]

0 commit comments

Comments
 (0)