proper guarding and handling of noncharacters in json strings. more tests required
This commit is contained in:
parent
653205501c
commit
80e9381b42
5 changed files with 107 additions and 5 deletions
4
test/cases/nullbyte_replaced.test
Normal file
4
test/cases/nullbyte_replaced.test
Normal file
|
@ -0,0 +1,4 @@
|
|||
{name, "nullbyte replaced"}.
|
||||
{jsx, [{string,<<16#fffd/utf8>>},end_json]}.
|
||||
{json, "nullbyte_replaced.json"}.
|
||||
{jsx_flags, [loose_unicode]}.
|
Loading…
Add table
Add a link
Reference in a new issue