-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Equivalent to LocalRedirect in Blazor #49628
Comments
@danroth27 thanks for contacting us. It's not that relevant, since the main use case is redirects in auth. In other scenarios you can implement this with a few lines of code:
|
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
It seems incorrect to me to throw in this case. This is a problem with the request, not a necessarily a server error. However, it does appear that LocalRedirect throws and |
In MVC & Razor Pages you can all
LocalRedirect()
to trigger a redirect to page in the app. This is typically used with return URLs specified in the request, so that a malicious request can't send you off to some other site.In Blazor we have
NavigationManager.NavigateTo()
. Do we need aNavigateToLocal()
?The text was updated successfully, but these errors were encountered: