Review main Merged

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

Georg Ringer CR +2 V +2 Easy +2 −2 updated 10/22/26, 15:36

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
    • Chris Müller +1
    • Jonas Eberle +1
    • Josua Vogel +1
  • Verified V +2 Done
    • Benni Mack +2
    • Jonas Eberle +1
    • core-ci +1 CI

Issues 1

Files 2

Review log 78

  1. Georg Ringer uploaded patch set 1 10/01/26, 19:00

  2. Georg Ringer commented on patch set 1 10/01/26, 19:00

    This change is ready for review.
  3. core-ci voted on patch set 1 V +1 10/01/26, 19:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109832

  4. Josua Vogel voted on patch set 1 CR +1 10/02/26, 07:05

  5. Chris Müller voted on patch set 1 CR +1 10/02/26, 07:13

  6. Jonas Eberle voted on patch set 1 CR +1 V +1 10/02/26, 08:53

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

  8. Benni Mack merged patch set 2 10/22/26, 15:36