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

Fix route not found with upper char #20

Merged
merged 1 commit into from
Feb 5, 2024
Merged

Fix route not found with upper char #20

merged 1 commit into from
Feb 5, 2024

Conversation

DrWenz
Copy link
Member

@DrWenz DrWenz commented Feb 5, 2024

Problem:
Routes with Uppercase char's not working.

Detected Issue:
On NavigationRegistrar.RegisterRoute the route is registered with route.ToLower(), on NavigationRegistrar.TryGetNode it is called without ToLower().

Solution
Call Navigations.TryGetValue(path, out node); with path.ToLower() in NavigationRegistrar

@DrWenz DrWenz requested a review from OmidID February 5, 2024 10:33
@DrWenz DrWenz mentioned this pull request Feb 5, 2024
@OmidID OmidID merged commit 1f4c7f0 into main Feb 5, 2024
1 check passed
@OmidID OmidID deleted the fix/route-not-found branch February 5, 2024 12:43
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.

2 participants