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

Parse trailing route slash #2896

Merged
merged 4 commits into from
Sep 7, 2024
Merged

Conversation

ealmloff
Copy link
Member

The router currently accepts /path/ if you try define the route route("/path"), but it doesn't accept /path if you define the route route("/path/"). This PR accepts both variants and adds more tests for parsing

@ealmloff ealmloff added bug Something isn't working router Related to the router implementation labels Aug 27, 2024
@ealmloff ealmloff merged commit 7bb53fe into DioxusLabs:main Sep 7, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working router Related to the router implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants