Fix NUL byte check for object keys
This commit is contained in:
2
test/suites/invalid/null-byte-in-object-key/error
Normal file
2
test/suites/invalid/null-byte-in-object-key/error
Normal file
@@ -0,0 +1,2 @@
|
||||
1 15 15
|
||||
NUL byte in object key not supported near '"foo\u0000bar"'
|
||||
1
test/suites/invalid/null-byte-in-object-key/input
Normal file
1
test/suites/invalid/null-byte-in-object-key/input
Normal file
@@ -0,0 +1 @@
|
||||
{"foo\u0000bar": 42}
|
||||
Reference in New Issue
Block a user