Actions
Bug #103567
closedSitemap refuses to apply Stylesheet because of CSP
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
SEO
Target version:
-
Start date:
2024-04-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Actions