Skip to content
Myr

Merge pull request #4397 from cameronthecoder/main

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Remove X-XSS-Protection suggestion

authored by David Lord · committed by GitHub · parents 981a94d, 08ad8aa · Browse files · 1 file+0 added−12 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−12 removed

  • other:+0 added−12 removed

1 file+0 added−12 removed

modified:docs/security.rst-12 removed
171 unmodified lines
172 response.headers['X-Frame-Options'] = 'SAMEORIGIN'173174- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options175176X-XSS-Protection177~~~~~~~~~~~~~~~~178179The browser will try to prevent reflected XSS attacks by not loading the page180if the request contains something that looks like JavaScript and the response181contains the same data. ::182183 response.headers['X-XSS-Protection'] = '1; mode=block'184185- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection186187176.. _security-cookie:177178Set-Cookie options179~~~~~~~~~~~~~~~~~~
95 unmodified lines