new BasicDBObject("foo\0bar","baz") doesn't have a valid document field name and should throw a IllegalArgumentException like fields names containing a dot.
- related to
-
DRIVERS-101 BSON cstring with null bytes should not be allowed
- Closed
-
JAVA-1070 driver doesn't allow null characters in field values
- Closed