-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Blazor NavigationManager redirect to NotFound if route parameter contains encoded / #52808
Comments
Thank you for filing this issue. In order for us to investigate this issue, please provide a minimal repro project that illustrates the problem without unnecessary code. Please share with us in a public GitHub repo because we cannot open ZIP attachments, and don't include any confidential content. |
This is now fixed in main; we'll probably backport it to 8.0 in a future patch release. #53470 |
@pmpbpl did you by any chance try the fix out from the nightly build to see if this indeed has addressed the issue you were facing? It most probably did, but would be nice to get confirmation. |
I will happily do, please point me to the instruction how to use the nightly build. I have been trying : |
Thanks @pmpbpl. I've already got a confirmation on another thread about the fix, but your scenario may be very slightly different. I've shared the summarized instructions how to try the build here: #53138 (comment) |
Yes, this fix solves navigation issue:) |
Is there an existing issue for this?
Describe the bug
NavigationManager redirects to NotFound if route parameter contains encoded '/' instead of requested page.
ex:
/cars/parts%20w%2F%20issue/show
It was working in .net 6. Stops after update to .net8.
Expected Behavior
Navigate to page and bind parameter.
Steps To Reproduce
repo
Exceptions (if any)
No response
.NET Version
.net8.0
Anything else?
No response
The text was updated successfully, but these errors were encountered: