Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-891

Document fields accept NULL characters

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.11.3, 3.0.0
    • Affects Version/s: 2.11.2
    • Component/s: BSON
    • Labels:
      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:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: