Review 13.4 Merged

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

Benjamin Franzke 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
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Benjamin Franzke commented on patch set 1 02/25/26, 10:47

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 02/25/26, 10:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96811

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

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