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 #236

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

Parsing of control characters #236

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

Comments

@j-moeller
Copy link

Hello,

we found that jsmn parses ASCII control characters which is technically not allowed by the JSON specification. You can find a minimum working sample here: 1

@pt300
Copy link
Collaborator

pt300 commented Mar 19, 2025

JSMN without strict mode is extremely permissive, the point of not having much to do with any JSON standard.
Strict mode should be the only mode JSMN support as this default "lenient" mode only confuses people and server practically nobody.

@pt300 pt300 closed this as completed Mar 19, 2025
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