Review 12.4 Merged

90513[BUGFIX] Always clone policy in CSP's Policy::prepare

Oliver Hader CR +2 V +2 Easy +0 −5 updated 08/29/25, 16:46

Commit message

`\TYPO3\CMS\Core\Security\ContentSecurityPolicy\Policy::prepare`
had an optimization to only clone the policy in case directives
have been purged.

Other additional adjustments for `SourceKeyword::strictDynamic`
were not applied unless a directive has been purged before.

Review

  • Code review CR +2 Done
    • Oliver Hader +2
  • Verified V +2 Done
    • Oliver Hader +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Oliver Hader uploaded patch set 1 08/29/25, 15:34

  2. core-ci voted on patch set 1 V +1 08/29/25, 15:42 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/83999

  3. Oliver Hader voted on patch set 1 CR +2 V +2 08/29/25, 16:45

  4. Oliver Hader merged patch set 2 08/29/25, 16:46