94845[FEATURE] Emit CSP report-to with Reporting API headers
Commit message
Test this change
Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch
- Check out patch set 3
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/45/94845/3 && git checkout FETCH_HEAD - Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/45/94845/3 && git cherry-pick FETCH_HEAD
Review
-
Code review CR 0 Needs a vote
-
Verified V -1 Blocked
- core-ci -1 CI
Merge conflicts 4
Issues 1
Files 11
- typo3/sysext/backend/Classes/Middleware/ContentSecurityPolicyHeaders.php+11 −3
- typo3/sysext/core/Classes/Middleware/AbstractContentSecurityPolicyReporter.php+93 −19
- typo3/sysext/core/Classes/Security/ContentSecurityPolicy/Middleware/ResponseService.php+35 −0
- typo3/sysext/core/Classes/Security/ContentSecurityPolicy/Directive.php+1 −1
- typo3/sysext/core/Classes/Security/ContentSecurityPolicy/Policy.php+32 −2
- typo3/sysext/core/Classes/Security/ContentSecurityPolicy/PolicyProvider.php+6 −1
- typo3/sysext/core/Documentation/Changelog/15.0/Feature-103934-UseCSPReportToWithReportingEndpoints.rstnew+45 −0
- typo3/sysext/core/Tests/Functional/Security/ContentSecurityPolicy/Reporting/BeforePersistingReportEventTest.php+47 −3
- typo3/sysext/core/Tests/Functional/Security/ContentSecurityPolicy/PolicyTest.php+21 −0
- typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/Middleware/ResponseServiceTest.phpnew+62 −0
- typo3/sysext/frontend/Classes/Middleware/ContentSecurityPolicyHeaders.php+6 −0
Review log 47
-
Mohsin Khan uploaded patch set 1 07/20/26, 09:39
-
core-ci voted on patch set 1 V +1 07/20/26, 09:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/105018
-
Sebastian Fischer voted on patch set 1 CR +1 08/17/26, 13:25
-
Mohsin Khan uploaded patch set 2
CR +1V +111/03/26, 15:14 -
Mohsin Khan updated the commit message in patch set 3 11/03/26, 15:14
-
core-ci voted on patch set 3 V -1 11/03/26, 15:32 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113176
-
core-ci voted on patch set 2 V -1 11/03/26, 15:32 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113175