`�` leaks NULL character
RReverser opened this issue · 2 comments
RReverser commented
As per spec, number should be parsed before mapping against the table, so �
should be decoded just in the same way as �
/ �
/ ..., that is, replaced with \uFFFD
.
Currently it instead returns actual "unsafe" \u0000
string.
mathiasbynens commented
Good catch! Closing in favor of #44.
RReverser commented
@mathiasbynens Well, it's just the issue for the PR. It would be auto-closed when PR is merged ;)