Review main Ready for review

97008[FEATURE] Add TCA type=slug option "allowDashCharacters"

Markus Timtner CR +1 V +1 Normal +148 −5 updated 11/20/26, 19:44

Commit message

Slug generation replaces "-" and "_" with the configured
fallbackCharacter, so a title like "Page title with - and _ x"
always becomes "page-title-with-and-x".

The new opt-in TCA option `allowDashCharacters` for fields of
type slug keeps both characters, independent of the
`fallbackCharacter`. Repeated dashes and low-dashes are still
reduced to a single one. The default is `false`, so existing slug
fields behave as before.

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 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/08/97008/2 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/08/97008/2 && git cherry-pick FETCH_HEAD

Review

  • Code review CR +1 Needs a vote
    • Georg Ringer +1
    • Garvin Hicking +1
  • Verified V +1 Needs a vote
    • Georg Ringer +1
    • Garvin Hicking +1
    • core-ci +1 CI

Merge conflicts 3

Issues 1

Files 5

Review log 46

  1. Markus Timtner uploaded patch set 1 10/22/26, 13:40

  2. core-ci voted on patch set 1 V +1 10/22/26, 13:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112116

  3. Garvin Hicking updated the commit message in patch set 2 V +1 11/20/26, 15:25

  4. Garvin Hicking voted on patch set 2 CR +1 V +1 11/20/26, 15:25

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

  6. Georg Ringer voted on patch set 2 CR +1 V +1 11/20/26, 19:44