Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V12 CSP errors #570

Open
zkrechowiec opened this issue Apr 8, 2024 · 1 comment
Open

V12 CSP errors #570

zkrechowiec opened this issue Apr 8, 2024 · 1 comment

Comments

@zkrechowiec
Copy link

Hello, I use TYPO3 v12.4.13 with a version of yoast 9.0.3.
The loading is looping and when looking at the console, we have csp errors:
"Refused to apply inline style because it violates the following Content Security Policy directive: "style-src-elem 'self' 'unsafe-inline' 'nonce-gKLTCjjwx0amlbW5SIdzUeqA4wisfOO-B1b-cjOzYEsyCUjg2w44Bg'"
In v12, backend csp can be generated from a module but this cannot be processed. Has anyone had this problem and have a solution?

@lstephanws
Copy link

lstephanws commented Jun 4, 2024

Hello,
For my part, the problem can be solved by desactivating this conf :
$GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['security.backend.enforceContentSecurityPolicy'] = false;
Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants