Review main Merged

92989[BUGFIX] Fix broken importmap when script-src-elem is configured

Matthias Vogel CR +2 V +2 Easy +1 −1 updated 02/25/26, 10:59

Commit message

When an extension or project defines a script-src-elem rule,
the hash for the import map is not copied to the script-src-elem rule.
This violates the CSP rule, and breaks the importmap.
Registering it as 'script-src-elem' ensures that
the hash is always present in the correct rule.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
    • Simon Praetorius +1
  • Verified V +2 Done
    • Benjamin Franzke +2
    • Simon Praetorius +1
    • core-ci +1 CI

Issues 1

Files 1

Review log 56

  1. Matthias Vogel uploaded patch set 1 02/25/26, 09:55

  2. Matthias Vogel marked it ready for review 02/25/26, 09:56

  3. core-ci voted on patch set 1 V +1 02/25/26, 10:05 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96809

  4. Simon Praetorius voted on patch set 1 CR +1 V +1 02/25/26, 10:25

  5. Benjamin Franzke voted on patch set 1 CR +2 V +2 02/25/26, 10:48

  6. Benjamin Franzke merged patch set 2 02/25/26, 10:59