Routes to paths with URL-encoded chars fails to match and always results in 404 #2862
Open
4 tasks done
Labels
triage
A bug report being investigated
Rocket Version
0.5.1
Operating System
Debian Testing (upgraded last week)
Rust Toolchain Version
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
What happened?
I'm trying to use URL-encoded chars in my routes and Rocket just responds with 404. Rocket manages to compile with the following test case, but the issue is that, as you can see in the log output:
when i make the request to the exact same path as the get macro was defined as, Rocket fails to match my request to my route.
This way I've done it in the test case is a reasonable assumption to how Rocket would handle paths as according to this part of the docs, Origins should be URL-encoded.
Test Case
Log Output
Additional Context
No response
System Checks
rustc
toolchain.The text was updated successfully, but these errors were encountered: