Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1503

Extended JSON parsing does not error on control characters in strings

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 1.3.0
    • JSON & ExtJSON
    • None

    Description

      Unescaped control characters are illegal in JSON. The driver fails to error unmarshaling an invalid string of this sort.

      input := "{\"a\":\"\x07\"}"
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: