Skip to content

馃悶 Reject unescaped control characters in JSON strings - #1563

Open
kleonyuan wants to merge 1 commit into
Vectorized:mainfrom
kleonyuan:main
Open

kleonyuan wants to merge 1 commit into
Vectorized:mainfrom
kleonyuan:main

Conversation

@kleonyuan

Copy link
Copy Markdown

Description

Reject unescaped U+0000鈥揢+001F control characters in JSON strings in both
parse() and decodeString(), as required by RFC 8259. Add regression
coverage for all 32 control characters and confirm escaped control characters
remain accepted.

Checklist

  • Ran forge fmt?
  • Ran forge test?

Signed-off-by: kleonyuan <kleonyuan@outlook.com>

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant