Review main Abandoned

96086[BUGFIX] Strip fulltext operators from search words

Benni Mack CR 0 V 0 Easy +42 −3 updated 11/19/26, 16:56

Commit message

The MySQL fulltext search puts the words entered by the user into an
"AGAINST(... IN BOOLEAN MODE)" expression. Only double quotes of
sentence searches were removed, all other boolean mode operators
like parentheses, "<", ">", "~", "@" and "*" were passed on to the
database. Such input either changed the meaning of the query or led
to a syntax error instead of an empty result.

These characters are now removed from each search word before the
operators of the indexer itself are added. Words that consist only of
such characters are skipped.

Review

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

Issues 1

Files 2

Review log 45

  1. Benni Mack uploaded patch set 1 09/25/26, 17:02

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

  3. Garvin Hicking commented on patch set 1 09/25/26, 17:14

    Unresolved

    Removing () will make a query like +(Garvin benni) +typo3 no longer be evaluated like intended/currently allowed...
  4. Benni Mack wrote 09/25/26, 18:43

    Topic set to indexed-search
  5. Benni Mack abandoned the change 11/19/26, 16:56

    wont do