mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 20:31:40 +03:00
Fix JSON parser decoding for ASCII in strings
The JSON standard rejects all un-escaped, un-printable characters EXCEPT for the delete character (ID 127, i.e. 0x7F). See: https://www.crockford.com/mckeeman.html Via: https://www.json.org/json-en.html
This commit is contained in:
parent
2580dfbce3
commit
e4ddd6994c
@ -4417,7 +4417,7 @@
|
||||
;~(plug dot (plus nud))
|
||||
:: :: ++jcha:de-json:html
|
||||
++ jcha :: string character
|
||||
;~(pose ;~(less doq bas prn) esca)
|
||||
;~(pose ;~(less doq bas (shim 32 255)) esca)
|
||||
:: :: ++mayb:de-json:html
|
||||
++ mayb :: optional
|
||||
|*(bus=rule ;~(pose bus (easy ~)))
|
||||
|
Loading…
Reference in New Issue
Block a user