Review main Merged

96057[BUGFIX] Check search word length in characters instead of bytes

Benni Mack CR +2 V +2 Easy +39 −1 updated 09/25/26, 06:49

Commit message

A search word of the frontend search must be at least two characters
long. The length is checked with strlen(), which counts bytes, so a
single character with a multi-byte encoding such as "é" or a CJK
character passes the check, while a single latin letter is dropped.

Use mb_strlen() to check the length of the search word.

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
    • Georg Ringer +1
    • Josua Vogel +1
  • Verified V +2 Done
    • Stefan Bürk +2
    • Georg Ringer +1
    • core-ci +1 CI

Issues 1

Files 2

Review log 56

  1. Benni Mack uploaded patch set 1 09/25/26, 01:46

  2. core-ci voted on patch set 1 V +1 09/25/26, 02:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109203

  3. Georg Ringer voted on patch set 1 CR +1 V +1 09/25/26, 05:02

  4. Josua Vogel voted on patch set 1 CR +1 09/25/26, 05:42

  5. Stefan Bürk voted on patch set 1 CR +2 V +2 09/25/26, 06:36

  6. Stefan Bürk merged patch set 2 09/25/26, 06:49