Project

General

Profile

Actions

Bug #103567

closed

Sitemap refuses to apply Stylesheet because of CSP

Added by Benjamin Robinson 8 months ago. Updated 7 months ago.

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #103149: CSP prevents sitemap.xml inline CSS stylesResolved2024-02-19

Actions
Actions

Also available in: Atom PDF