Review main Ready for review

98199[BUGFIX] Format the workspace preview logout message only once

Amir Arends CR 0 V 0 Easy +16 −6 updated 11/29/26, 20:56

Commit message

The logout message built for ADMCMD_prev=LOGOUT was passed through
sprintf() a second time, after the current URL had already been
inserted. Percent-encoded characters in that URL, as produced by
any non-ASCII slug, were then parsed as conversion specifiers and
the request failed with an ArgumentCountError.

Only a configured workspacePreviewLogoutTemplate receives the URL
through its %1$s marker now; the default message and the error
message are returned as formatted.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/99/98199/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/99/98199/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Merge conflicts 3

Issues 1

Files 2

Review log 12

  1. Amir Arends uploaded patch set 1 11/29/26, 20:46

  2. core-ci voted on patch set 1 V +1 11/29/26, 20:56 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115977