Skip to content

Equivalent to LocalRedirect in Blazor #49628

Open
@danroth27

Description

@danroth27

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 a NavigateToLocal()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-navigation

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions