You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
filter manager fails hard. It will return 5xx code "Uncaught PHP Exception" because of "BadRequest400Exception" thrown from Elasticsearch client.
To fail in this case is OK, but we should return HttpException with 4xx error code by ourself.
The real issue here is that we allow filter manager to send invalid query to Elasticsearch. Filter manager should have some kind of validation and make sure that user data does not generate invalid queries.
The text was updated successfully, but these errors were encountered:
I have following configuration:
Usually with this config URL looks like this:
but if for some reason you pass
man
as arrayfilter manager fails hard. It will return 5xx code "Uncaught PHP Exception" because of "BadRequest400Exception" thrown from Elasticsearch client.
To fail in this case is OK, but we should return
HttpException
with 4xx error code by ourself.The real issue here is that we allow filter manager to send invalid query to Elasticsearch. Filter manager should have some kind of validation and make sure that user data does not generate invalid queries.
The text was updated successfully, but these errors were encountered: