Reject documents and queries with empty field names

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Minor Change
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should

      1) Reject insertion of a document if any of the fields have an empty field name.
      2) Reject any query operation where the path includes an empty field name, such as

      {'': 5} or {'.a': 5} or {'a.': 5} or {'a..b': 5}
      

              Assignee:
              Unassigned
              Reporter:
              Qingyang Chen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: