Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-93732

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

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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.

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

            Assignee:
            Unassigned Unassigned
            Reporter:
            asger@princh.com Asger Drewsen
            Votes:
            8 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: