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

Extended JSON parsing does not error on control characters in strings

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.3.0
    • Component/s: JSON & ExtJSON
    • None

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

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

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

              Created:
              Updated: