mirror of https://github.com/pallets/flask.git
Remove X-XSS-Protection suggestion
This commit is contained in:
parent
981a94df68
commit
08ad8aabfe
|
@ -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
|
- 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:
|
.. _security-cookie:
|
||||||
|
|
||||||
Set-Cookie options
|
Set-Cookie options
|
||||||
|
|
Loading…
Reference in New Issue