Actions
Bug #96082
closedEXT:indexed_search times out when penetrated with very long search terms
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2021-11-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
8.0
Tags:
indexed_search
Complexity:
easy
Is Regression:
Sprint Focus:
Description
One of my customers is dabbling in massive system testing. He tested the index search with >1MB long texts as searchword. Then the search runs into a timeout and outputs "oooops error" what is not very beautiful...
The easiest way to prevent this is to limit the length of the search word in the SearchController. (and limiting the text field with maxlength which does not necessarily prevent evil testers from triggering this error)
For example
if (mb_strlen($searchWord) > 100) { return; }
A feature could be to set the max sword length in typoscript
Updated by Georg Ringer 6 months ago
- Status changed from Accepted to Closed
I just tested this in v13 and couldn't reproduce it anymore. If this issue is still valid in v11/V12, feel free to open a new issue.
please also provide the actual error
Actions