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

Reject documents and queries with empty field names

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Querying
    • None
    • 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

              Unassigned Unassigned
              qingyang.chen Qingyang Chen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: