Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19740

Reject documents and queries with empty field names

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

      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 Unassigned
            Reporter:
            qingyang.chen Qingyang Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: