[TASK] Allow to disable CSP headers for a particular site
This change allows to disable CSP headers for a particular site configured in `sites/<my-site>/csp.yaml` by using the assignment `enable: false`. Resolves: #104549 Releases: main, 12.4 Change-Id: I9e17b5658610e5d47915a5e45ca6a33a870e8d76 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85622 Tested-by:core-ci <typo3@b13.com> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
Showing
- typo3/sysext/core/Documentation/Changelog/12.4.x/Important-104549-DisableContent-Security-PolicyHeadersForParticularSite.rst 25 additions, 0 deletions...isableContent-Security-PolicyHeadersForParticularSite.rst
- typo3/sysext/frontend/Classes/Middleware/ContentSecurityPolicyHeaders.php 4 additions, 2 deletions...ntend/Classes/Middleware/ContentSecurityPolicyHeaders.php