Open alopezlago opened 2 weeks ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Tagging subscribers to this area: @dotnet/ncl
Type of issue
Outdated article
Description
The documentation for
Uri.EscapeDataString
is out of date. At least in .Net 6 and later, the method doesn't throw aUriFormatException
untilvalue
is over 65519 characters long, which is larger than the documented 32766 limit. This now matches the maximum length thatUri
supports.Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.uri.escapedatastring?view=net-8.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System/Uri.xml
Document Version Independent Id
c0127701-9ef8-e99a-6d3a-ed5317a7b5ad
Article author
@dotnet-bot