On 2013-05-12 22:06, Dmitry Olshansky wrote:

std.json is another thing - 0x7F somehow is specifically tested as being
accepted as part of string literal. Yet ECMA script docs clearly state
that Unicode control characters are to be stripped even before lexing
(ignored even in literals).

That is my fault. There's a unit test for std.net.isemail that contains a 0x7F. std.json is somehow used in the auto tester. std.net.isemail broke the auto tester because of this. I haven't seen any JSON parser that doesn't accept 0x7F in a string literal.

--
/Jacob Carlborg

Reply via email to