Skip to content

Commit f68fd03

Browse files
committed
remove xss protection no modern browser supports this header
Signed-off-by: Chang-Ning Tsai <[email protected]>
1 parent 709f797 commit f68fd03

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app_test.py

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def check_security_headers(self, resp):
4444
"""Check security headers."""
4545
headers = resp.headers
4646
self.assertTrue("Content-Security-Policy" in headers)
47-
self.assertTrue("X-XSS-Protection" in headers)
4847
self.assertTrue("X-Content-Type-Options" in headers)
4948
self.assertTrue("Content-Security-Policy" in headers)
5049
self.assertTrue("Feature-Policy" in headers)

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Flask==2.3.3
55
Flask-SSLify==0.1.5
66
Flask-Testing==0.8.1
77
Flask-SeaSurf==1.1.1
8-
flask-talisman==1.0.0
8+
flask-talisman==1.1.0
99
gunicorn==21.2.0
1010
pycodestyle==2.11.1
1111
pydocstyle==6.3.0

0 commit comments

Comments
 (0)