Fix typo in 'XssFilter' API documentation: 'enorce' -> 'enforce'.

This commit is contained in:
Gonçalo Ribeiro 2021-07-13 00:21:57 +01:00 committed by Jeb Rosen
parent 85c0759f1d
commit df8cf4575a
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ impl From<&Frame> for Header<'static> {
}
/// The [X-XSS-Protection] header: filters some forms of reflected [XSS]
/// attacks. Modern browsers do not support or enorce this header.
/// attacks. Modern browsers do not support or enforce this header.
///
/// [X-XSS-Protection]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection
/// [XSS]: https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting