Merge pull request #4397 from cameronthecoder/main

Remove X-XSS-Protection suggestion
This commit is contained in:
David Lord 2022-01-14 08:34:55 -08:00 committed by GitHub
commit de4b2807d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,18 +173,6 @@ invisibly to clicks on your page's elements. This is also known as
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
X-XSS-Protection
~~~~~~~~~~~~~~~~
The browser will try to prevent reflected XSS attacks by not loading the page
if the request contains something that looks like JavaScript and the response
contains the same data. ::
response.headers['X-XSS-Protection'] = '1; mode=block'
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection
.. _security-cookie:
Set-Cookie options