docs: Fix typo in Trusted Types documentation (#40433)

Remove an extraneous 'd' from the Trusted Types header.
PR Close #40433
This commit is contained in:
bjarkler 2021-01-14 18:28:12 +00:00 committed by Andrew Kushnir
parent e4df94214b
commit 9b0b2dd688

View File

@ -199,7 +199,7 @@ You should configure the HTTP headers for Trusted Types in the following locatio
The following is an example of a header specifically configured for Trusted Types and Angular: The following is an example of a header specifically configured for Trusted Types and Angular:
<code-example language="html"> <code-example language="html">
Content-Security-Policy: trusted-types angular; required-trusted-types-for 'script'; Content-Security-Policy: trusted-types angular; require-trusted-types-for 'script';
</code-example> </code-example>
The following is an example of a header specifically configured for Trusted Types and Angular applications that use any of the methods in Angular's [DomSanitizer](api/platform-browser/DomSanitizer) that bypasses security. The following is an example of a header specifically configured for Trusted Types and Angular applications that use any of the methods in Angular's [DomSanitizer](api/platform-browser/DomSanitizer) that bypasses security.
@ -309,4 +309,4 @@ post](https://security.googleblog.com/2011/05/website-security-for-webmasters.ht
Angular applications must follow the same security principles as regular web applications, and Angular applications must follow the same security principles as regular web applications, and
must be audited as such. Angular-specific APIs that should be audited in a security review, must be audited as such. Angular-specific APIs that should be audited in a security review,
such as the [_bypassSecurityTrust_](guide/security#bypass-security-apis) methods, are marked in the documentation such as the [_bypassSecurityTrust_](guide/security#bypass-security-apis) methods, are marked in the documentation
as security sensitive. as security sensitive.