Review 13.4 Merged

97012[BUGFIX] Use current site language for CSP reporting URL

Benni Mack CR +2 V +2 Easy +2 −2 updated 10/22/26, 15:54

Commit message

PolicyProvider read the request attribute "siteLanguage", which is
never set in the frontend - the site resolver provides "language".
The CSP reporting URL therefore always pointed to the base of the
default language. With a disabled default language, the report
request was answered with a 404 and all reports were lost.

The functional test used the same wrong attribute and is adjusted
to reflect the actual frontend request.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Benni Mack commented on patch set 1 10/22/26, 15:38

    Cherry Picked from branch 14.3.
  2. core-ci voted on patch set 1 V +1 10/22/26, 15:50 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112134

  3. Benni Mack voted on patch set 1 CR +2 V +2 10/22/26, 15:54

  4. Benni Mack merged patch set 2 10/22/26, 15:54