Add a Redirect overload that takes PathString, QueryString, etc..
Open
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
Assessment
This issue has not been assessed yet.