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

feat(path-and-query): allow utf8 char, not rfc 3986 compliant, in path and query #715

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joelwurtz
Copy link

@joelwurtz joelwurtz commented Aug 29, 2024

This is a follow up of a PR in seanmonstar/httparse#178

This is mainly to allow incoming request that may have utf8 char in their path or query as some browsers send them raw instead of doing a percent encode (see the details here : actix/actix-web#3102 (comment) for a list of browser doing that)

This patch allow to correctly build a request object based on this behavior

I made it simple for the moment as i don't know how you want to handle this, in a feature flag ? through an option ? neither of them ?

Also i don't know on which version this should be based, it seems that 0.2 still receive some support should it be backported to this version also ?

@joelwurtz joelwurtz changed the title feat(path-and-query): allow utf8 char, not rfc 3389 compliant, in path and query feat(path-and-query): allow utf8 char, not rfc 3986 compliant, in path and query Aug 29, 2024
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