Bug #96082
Updated by Alexander Köberl almost 3 years ago
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
<pre>
if (mb_strlen($searchWord) > 100) {
return;
}
</pre>
A feature could be to set the max sword length in typoscript