-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Percent Decode Url Parameters #2251
Conversation
So the question with params matching here is what happens on client side routing. After the initial page hit, which is rendered on the server, all other navigation is done on the client. I'm wondering if that will cause your urls to not decode and cause issues Did you test that eventuality? |
There already exists a client side function for decoding which it should use for client side routing. Regardless I did just finish testing it on my personal site and client side routing is working just fine. |
Can you run cargo clippy and cargo fmt on it? That's what's making it fail the CI |
I have, it didn't change anything |
@benwis Clippy is complaining about an issue inside |
I am just starting off the bug hunt investigation .. and reporting what I see as I go In the build artefacts I see this error
From the main branch, here is what I interpret as the failing command cargo +nightly clippy --no-default-features --all-features so we can peek what is behind the (exit status 101). I get a long list of errors, all of the the same form. So I am just recording the first two errors below They are rkyv-0.7.43 related When I look at the full list of errors, looking for a entry point, a place in the leptos code which is a root of all this ... I get no joy... What do we need to do to get rkyv to compile? in this instance So I am expecting a the answer to be and complex nested inter-dependency When I use
|
I wouldn't worry about this, making clippy happy with rkyv is not required for us to merge it |
Thanks, this looks good to me! @martinfrances107 I'll just run CI locally and merge. |
In my application I have some routes with parameters that can be user defined and often include spaces. This means that there usually is a %20 instead of a space in the parameter which is unexpected from a dev perspective. This makes sure that when building the parameter map we percent decode the parameter.
This breaks a doc test and I have a proposed fix for it since it now requires the "ssr" feature to work. The test now only runs when the ssr feature is enabled.