Skip to content

Commit

Permalink
Update docs/advanced-features/security-headers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
leerob authored Jun 7, 2021
1 parent ccab4a0 commit 6bcaca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced-features/security-headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ This header informs browsers it should only be accessed using HTTPS, instead of

### [X-XSS-Protection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection)

This header stops pages from loading when they detect reflected cross-site scripting (XSS) attacks. Although these protections are not as necessary when sites implement a strong `Content-Security-Policy` disabling the use of inline JavaScript (`'unsafe-inline'`), they can still provide protections for older web browsers that don't yet support CSP.
This header stops pages from loading when they detect reflected cross-site scripting (XSS) attacks. Although these protections are not as necessary when sites implement a strong [`Content-Security-Policy`](#content-security-policy) disabling the use of inline JavaScript (`'unsafe-inline'`), they can still provide protections for older web browsers that don't yet support CSP.

```jsx
{
Expand Down

0 comments on commit 6bcaca5

Please sign in to comment.