Mikhail Khludnev created SOLR-13824:
---------------------------------------
Summary: JSON Request API ignores prematurely closing curly brace.
Key: SOLR-13824
URL: https://issues.apache.org/jira/browse/SOLR-13824
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: JSON Request API
Reporter: Mikhail Khludnev
{code:java}
json={query:"content:foo", facet:{zz:{field:id}}}
{code}
this works fine, but if we mistype {{}}} instead of {{,}}
{code:java}
json={query:"content:foo"} facet:{zz:{field:id}}}
{code}
It's captured only partially, here's we have under debug
{code:java}
"json":{"query":"content:foo"},
{code}
I suppose it should throw an error with 400 code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]