forked from CGM_Public/pretix_original
Remove X-XSS-Protection, no longer supported by any browser
This commit is contained in:
@@ -256,8 +256,6 @@ class SecurityMiddleware(MiddlewareMixin):
|
|||||||
# pages
|
# pages
|
||||||
return resp
|
return resp
|
||||||
|
|
||||||
resp['X-XSS-Protection'] = '1'
|
|
||||||
|
|
||||||
# We just need to have a P3P, not matter whats in there
|
# 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://blogs.msdn.microsoft.com/ieinternals/2013/09/17/a-quick-look-at-p3p/
|
||||||
# https://github.com/pretix/pretix/issues/765
|
# https://github.com/pretix/pretix/issues/765
|
||||||
|
|||||||
Reference in New Issue
Block a user