[FOLLOWUP] Provide PSR-7 Request only when relevant
This makes passing the PSR-7 Request to the PolicyMutatedEvent optional, since there are use cases where the available request is not relevant for CSP / the Event. Those usages are adjusted accordingly. Resolves: #104141 Releases: main, 12.4 Change-Id: Id4597e26850f42a444a16fe986e2136b6a543075 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84930 Reviewed-by:Oliver Bartsch <bo@cedev.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/backend/Classes/Security/ContentSecurityPolicy/CspAjaxController.php 9 additions, 9 deletions...sses/Security/ContentSecurityPolicy/CspAjaxController.php
- typo3/sysext/core/Classes/Security/ContentSecurityPolicy/Event/PolicyMutatedEvent.php 1 addition, 1 deletion...curity/ContentSecurityPolicy/Event/PolicyMutatedEvent.php
- typo3/sysext/core/Classes/Security/ContentSecurityPolicy/PolicyProvider.php 1 addition, 1 deletion...Classes/Security/ContentSecurityPolicy/PolicyProvider.php
- typo3/sysext/core/Documentation/Changelog/12.3/Feature-99499-IntroduceContent-Security-PolicyHandling.rst 1 addition, 1 deletion...eature-99499-IntroduceContent-Security-PolicyHandling.rst
Please register or sign in to comment