-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>bug
Description
This issue was first reported in #28985.
Any text after the last closing bracket is simply ignored by the request json parser. So for instance a request like:
{
"query": {
"term": {
"ProductID": "one"
}
}
},
"field_after_last_bracket": {
}
}
... is accepted.
I don't know why we have this leniency which is why I am opening this issue as a bug.
colings86 and olcbeanjpountz
Metadata
Metadata
Assignees
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>bug