Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2305

Disallow null characters in JSON strings

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • json, libbson
    • None

    Description

      Null characters should be disallowed in JSON input and an error should be returned. Currently our JSON parser does not handle them correctly.

      From the JSON spec

      All Unicode characters may be placed within the
      quotation marks, except for the characters that must be escaped:
      quotation mark, reverse solidus, and the control characters (U+0000
      through U+001F).

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: