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

Disallow inserting documents with invalid field names (nested)

    XMLWordPrintable

    Details

    • Operating System:
      ALL
    • Case:

      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated: