dotnet / dotnet/aspnetcore

Add a Redirect overload that takes PathString, QueryString, etc..

Open
#3,574 6 comments 0 reactions 0 assignees View on GitHub
affected-medium api-needs-work area-networking enhancement feature-http-abstractions Needs: Design severity-minor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

https://github.com/aspnet/Mvc/issues/8518

The redirect overloads that take a string do not do the encoding for you. Consider adding an overload that accepted the component parts and assembled and encoded them for you. This would likely delegate to the UriHelper.BuildRelative and BuildAbsolute APIs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.