The server should reject inserting/updating strings containing invalid UTF-8

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 7.0.12
    • Component/s: None
    • Query Execution
    • ALL
    • Hide

      Run the example code from https://jira.mongodb.org/projects/JAVA/issues/JAVA-5575

      Expected behavior: The invalid document is not inserted.

      Actual behavior: The document is inserted and stored in the database even though it contains a string field with invalid UTF-8.

      Show
      Run the example code from https://jira.mongodb.org/projects/JAVA/issues/JAVA-5575 Expected behavior: The invalid document is not inserted. Actual behavior: The document is inserted and stored in the database even though it contains a string field with invalid UTF-8.
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The server should not allow invalid UTF-8 to be stored as a string field when this is against the BSON specification.

              Assignee:
              Unassigned
              Reporter:
              Asger Drewsen
              Votes:
              9 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated: