-
Notifications
You must be signed in to change notification settings - Fork 49
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
Bug: Page results doesn't work with backend-CSP #341
Comments
I merged the PR. May you can test? |
Thanks for the patch! The result for the first level (= the selected page) is now visible. But I can't change the page-depth per selectbox to display also the results of the subpages. I think the CSP blockes the JavaScript in the onchange-attribute of the select-box:
It seems also that the angular.js is blocked by the CSP. I got the following error-messages:
Adding the onchange-function via "addEventListener" could possibly solve the problem with "this.form.submit()". |
Sorry, I accidentally closed the issue... |
The cs-seo backend-module (typo3/module/web/cs-seo/page-results?id=[...]) display no results when [SYS][features][security.backend.enforceContentSecurityPolicy] = true. This happens because the cs_seo JavaScripts are blocked by the TYPO3 CSP restrictions in the backend. If I set [SYS][features][security.backend.enforceContentSecurityPolicy] to "false" it works. Can you please fix this because disabling backend-CSP is not a good option for security reasons.
Tested in TYPO3 12.4.20
The text was updated successfully, but these errors were encountered: