Bug XenForo search errors instead of reporting the search is too long

There is a bug in this version
X

Xon

Guest
XenForo generates an \XF\Entity\Search record for search once done, which has a length limit of 200 characters for the search keywords. However, searches are sent to the search backend before attempting to save the search results.

This means the search can potentially send too long a query to the backend and will instead log a server error instead of reporting to the user the search was too long.

This is most noticeable with the elasticsearch backend, a keyword search which is quite long...

Read more

Continue reading...