Skip to content

Commit 6c4cdea

Browse files
committed
settings: Remove SECURE_BROWSER_XSS_FILTER
This option was removed in Django 4.0.
1 parent 50d29ff commit 6c4cdea

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

settings.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@
9494
# X-Content-Type-Options, stops browsers from trying to MIME-sniff the content type
9595
SECURE_CONTENT_TYPE_NOSNIFF = True
9696

97-
# X-XSS-Protection, enables cross-site scripting filter in most browsers
98-
SECURE_BROWSER_XSS_FILTER = True
99-
10097
# CSP Settings
10198
CSP_DEFAULT_SRC = ("'self'",)
10299
CSP_SCRIPT_SRC = ("'self'",)

0 commit comments

Comments
 (0)