RSS Feed/News XenForo search errors instead of reporting the search is too long

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,717
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top