Skip to content

ResumableParser: fix handling of incomplete unicode escape - #1110

Merged
byroot merged 1 commit into
ruby:masterfrom
byroot:harden-resumable-unicode-escape
Oct 12, 2026
Merged

byroot merged 1 commit into
ruby:masterfrom
byroot:harden-resumable-unicode-escape

Conversation

@byroot

@byroot byroot commented Oct 12, 2026

Copy link
Copy Markdown
Member

spe is the string end, so if the escape is incomplete, it doesn't mean we reached the end of stream, hence it's a syntax error, not an EOS error.

`spe` is the string end, so if the escape is incomplete, it doesn't
mean we reached the end of stream, hence it's a syntax error, not
an EOS error.
@byroot
byroot force-pushed the harden-resumable-unicode-escape branch from eb0e438 to 4847764 Compare October 12, 2026 13:46
@byroot
byroot merged commit c1a4372 into ruby:master Oct 12, 2026
42 checks passed
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