dotnet / dotnet/dotnet-api-docs
HttpUtility.UrlEncode and WebUtility.UrlEncode should refer to Uri.EscapeDataString
Open
area-System.Net
Pri3
untriaged
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
According to this stack overflow article, Uri.EscapeDataString is apparently preferable in some cases.
Probably should update documentation to reflect the recommendation:
https://stackoverflow.com/questions/602642/server-urlencode-vs-httputility-urlencode/1148326#1148326
Contributor guide
Assessment
This issue has not been assessed yet.