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

Reject documents and queries with empty field names

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change

      Description

      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}
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              qingyang.chen Qingyang Chen
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: