Issue Bug Closed

#103567Sitemap refuses to apply Stylesheet because of CSP

Benjamin Robinson 04/08/24, 13:21 updated 04/30/24, 20:07

Description

If the TYPO3 feature toggle “Security: frontend enforce content security policy” is set, the stylesheet of the ext:seo sitemap does not take effect. The following error is shown in the console (Safari):

“Refused to apply a stylesheet because its hash, its nonce, or ‘unsafe-inline’ does not appear in the style-sc directive of the Content Security Policy.”

I guess the style-Tag would need a nonce attribute with a valid value.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.