Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

RedirectToPage doesn't trim /Index from URL #6080

@DamianEdwards

Description

@DamianEdwards

RedirectToPage should trim the trailing /Index from the URL given that it's default anyway.

That is, doing this return RedirectToPage("/Index"); should effectively be the same as return Redirect("~/");.

Obviously needs to work for sub-folders and when route values are passed as well.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions