Remove X-XSS-Protection, no longer supported by any browser

This commit is contained in:
Raphael Michel
2024-06-29 19:22:37 +02:00
parent 3340599aec
commit 95511b0330

View File

@@ -256,8 +256,6 @@ class SecurityMiddleware(MiddlewareMixin):
# pages
return resp
resp['X-XSS-Protection'] = '1'
# We just need to have a P3P, not matter whats in there
# https://blogs.msdn.microsoft.com/ieinternals/2013/09/17/a-quick-look-at-p3p/
# https://github.com/pretix/pretix/issues/765