Skip to content

Conversation

seanmonstar
Copy link
Member


// potentially utf8, might not, should check
0x7F..=0xFF => {
is_maybe_not_utf8 = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice idea to avoid checking utf8 in most case, maybe we could do something similar in http-parse, will look at it (since utf8 is not common in path)

@seanmonstar seanmonstar merged commit 6637a72 into master Mar 11, 2025
10 checks passed
@seanmonstar seanmonstar deleted the uri-check-utf8 branch March 11, 2025 20:10
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.

3 participants