Skip to content

Commit

Permalink
fix: remove X-Xss-Protection header check as it is outdated
Browse files Browse the repository at this point in the history
Signed-off-by: Rupanshi Jain <[email protected]>
  • Loading branch information
rdotjain committed Sep 1, 2023
1 parent 98c8869 commit f5d299a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_security.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class SecurityTest(TestCase):
def test_headers(self):
resp = self.client.get("/portal/")
self.assertEqual(resp["X-Frame-Options"], "DENY")
self.assertEqual(resp["X-Xss-Protection"], "1; mode=block")
# self.assertEqual(resp["X-Xss-Protection"], "1; mode=block")
self.assertEqual(resp["X-Content-Type-Options"], "nosniff")
self.assertIn(resp["Referrer-Policy"], ["no-referrer", "same-origin"])

Expand Down

0 comments on commit f5d299a

Please sign in to comment.