You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Mikhail Khludnev (Jira)" <ji...@apache.org> on 2019/10/13 20:01:00 UTC

[jira] [Updated] (SOLR-13824) JSON Request API ignores prematurely closing curly brace.

     [ https://issues.apache.org/jira/browse/SOLR-13824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Khludnev updated SOLR-13824:
------------------------------------
    Attachment: SOLR-13824.patch
        Status: Open  (was: Open)

> 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
>            Priority: Major
>         Attachments: SOLR-13824.patch
>
>
> {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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org