voxpupuli / json-schema

Ruby JSON Schema Validator
MIT License
1.52k stars 241 forks source link

JSON containing unicode null escape sequences fail to validate #414

Open theDogOfPavlov opened 5 years ago

theDogOfPavlov commented 5 years ago

If a JSON structure contains a string with a unicode null \u0000 escape then the validation fails:

{"error":{"code":"ValidationErrors","message":"Mismatched request accept header value: \u0000","reference":"lECClIZKlQtLiw2DeIKCvYOlRty8WD28"}}