Skip to content

fix: do not validate utf8 for partial text frames#123

Open
littledivy wants to merge 3 commits intomainfrom
partial-utf8-fragme
Open

fix: do not validate utf8 for partial text frames#123
littledivy wants to merge 3 commits intomainfrom
partial-utf8-fragme

Conversation

@littledivy
Copy link
Copy Markdown
Member

@littledivy littledivy commented Dec 27, 2025

According to RFC 6455

The "Payload data" is text data encoded as UTF-8. Note that a
particular text frame might include a partial UTF-8 sequence;
however, the whole message MUST contain valid UTF-8.

This is now done by FragmentCollector

Fixes #122

This is done by Fragment collector
@littledivy littledivy changed the title Do not validate utf8 for partial frames Do not validate utf8 for partial text frames Dec 27, 2025
@littledivy littledivy changed the title Do not validate utf8 for partial text frames fix: do not validate utf8 for partial text frames Dec 28, 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

Successfully merging this pull request may close these issues.

Fragmented text frame treated as invalid if it contains partial utf-8

1 participant