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

url decode path segments with warp::path::param() #1026

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

Conversation

urkle
Copy link
Contributor

@urkle urkle commented Mar 15, 2023

Similar to #704 except it simply always decodes the path pieces before parsing.

This matches the behavior for query params where they are decoded by serde_urlencoded.

This PR also adds test for filters::path::param as well as for filters::query::query to assert the handling.

@urkle urkle force-pushed the feat-param-url-decoding branch 2 times, most recently from 53beb0b to 5e7db03 Compare March 30, 2023 16:01
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