Review 14.3 Merged

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

Stefan Bürk 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
  • Verified V +2 Done
    • Stefan Bürk +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Stefan Bürk commented on patch set 1 09/25/26, 06:36

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 09/25/26, 06:45 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109224

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

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