Document fields accept NULL characters

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.11.3, 3.0.0
    • Affects Version/s: 2.11.2
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      new BasicDBObject("foo\0bar","baz") doesn't have a valid document field name and should throw a IllegalArgumentException like fields names containing a dot.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Ross Lawley
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: