Project

General

Profile

Actions

Bug #103567

closed

Sitemap refuses to apply Stylesheet because of CSP

Added by Benjamin Robinson 27 days ago. Updated 5 days 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 (1 open0 closed)

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

Actions
Actions #1

Updated by Timo Webler 27 days ago

  • Related to Bug #103149: CSP prevents sitemap.xml inline CSS styles added
Actions #2

Updated by Oliver Hader 5 days ago

  • Status changed from New to Closed

→ please see #103149

Actions

Also available in: Atom PDF