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

Disallow null characters in JSON strings

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: json, libbson
    • Labels:
      None

      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).

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

              Created:
              Updated:
              Resolved: