Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Mango
    • Labels:
      None

      Description

      {"" : "foo}

      crashes our mango indexer.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 6660b37d6813823804df3444f532abf6736936f7 in couchdb-mango's branch refs/heads/master from Tony Sun
        [ 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

        Show
        jira-bot ASF subversion and git services added a comment - Commit 6660b37d6813823804df3444f532abf6736936f7 in couchdb-mango's branch refs/heads/master from Tony Sun [ 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
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 6660b37d6813823804df3444f532abf6736936f7 in couchdb-mango's branch refs/heads/COUCHDB-3288-remove-public-db-record from Tony Sun
        [ 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

        Show
        jira-bot ASF subversion and git services added a comment - Commit 6660b37d6813823804df3444f532abf6736936f7 in couchdb-mango's branch refs/heads/ COUCHDB-3288 -remove-public-db-record from Tony Sun [ 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

          People

          • Assignee:
            Unassigned
            Reporter:
            tonysun83 Tony Sun
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development