You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/04/04 21:21:41 UTC

[jira] [Commented] (COUCHDB-3202) do not allow empty field names

    [ https://issues.apache.org/jira/browse/COUCHDB-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15955856#comment-15955856 ] 

ASF subversion and git services commented on COUCHDB-3202:
----------------------------------------------------------

Commit 6660b37d6813823804df3444f532abf6736936f7 in couchdb-mango's branch refs/heads/COUCHDB-3288-remove-public-db-record from [~tonysun83]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-mango.git;h=6660b37 ]

Do not allow empty field name

Currently, the indexer crashes when a field name is empty. Even though
it's valid json, we should disallow empty field names to coincide
with selector syntax that requires a non-empty field name for queries.

COUCHDB-3202


> do not allow empty field names
> ------------------------------
>
>                 Key: COUCHDB-3202
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3202
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Mango
>            Reporter: Tony Sun
>
> {"" : "foo} crashes our mango indexer.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)