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

Disallow inserting documents with invalid field names (nested)

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Write Ops
    • Query Optimization
    • ALL

    Description

      Currently the insert checks do not validate past the first level of fields, and for performance reasons this may be hard to do without causing issues.

      Example of where this is not validated on the server:

      {_id:1, "a" : { "a.b":1, "$foo":1}}

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated: