namespace validation on insert uses substring matching not prefix matching

XMLWordPrintableJSON

    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      > c = db.coll.system.namespaces
      test.coll.system.namespaces
      > c.save({})
      > c.findOne()
      null

      Presumably db.system.namespaces should be protected, but not db.coll.system.namespaces?

      I think there are some related validations that should be checked as well.

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Aaron Staple (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated: