Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing of control characters in JSON parser #115

Open
j-moeller opened this issue Jul 3, 2024 · 1 comment
Open

Parsing of control characters in JSON parser #115

j-moeller opened this issue Jul 3, 2024 · 1 comment

Comments

@j-moeller
Copy link

Hello,

we found an issue in the JSON parser of the project when dealing with control characters (0x00 and 0x1f). We provide a minimum working sample here: 1. For \u001f and 0x1f the ccan JSON parser becomes self-incompatible, since \u001f gets serialized to 0x1f, but 0x1f can not be parsed by the JSON parser (which is in accordance with the JSON specs).

@dgibson
Copy link
Collaborator

dgibson commented Jul 5, 2024

Thanks for the report. Alas, ccan is pretty moribund now, so it's probably unlikely that anything will happen about this. CCing @joeyadams who I believe is the author of that module, fwiw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants