Open
Description
Problem
Since the merge of #3187 the '/' in a router paths are also encoded breaking my app.
// The ':id' is now url encoded, great!
#[at("/user/:id")]
User,
// However the '/'s in '*path' are now also url encoded, not great!
#[at("/file/*path")]
File,
Steps To Reproduce
Use a router with a path, as shown in the example code above.
Expected behavior
'/' is not encoded, instead the path is split on '/', and then each segment is url encoded.
Screenshots
No screenshots necessary
Environment:
- Yew version: v0.21
Questionnaire
- I'm interested in fixing this myself but don't know where to start
- I would like to fix and I have a solution
- I don't have time to fix this right now, but maybe later