Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uri.EscapeDataString no longer throws if parameter is longer than 32766 characters long #10549

Open
alopezlago opened this issue Oct 11, 2024 · 3 comments
Labels
area-System.Net Pri3 Indicates issues/PRs that are low priority untriaged New issue has not been triaged by the area owner

Comments

@alopezlago
Copy link

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 a UriFormatException until value is over 65519 characters long, which is larger than the documented 32766 limit. This now matches the maximum length that Uri 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

@issues-automation issues-automation bot added the Pri3 Indicates issues/PRs that are low priority label Oct 11, 2024
Copy link

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.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 11, 2024
Copy link

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.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Oct 11, 2024
@steveharter steveharter added area-System.Net and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Oct 11, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Net Pri3 Indicates issues/PRs that are low priority untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

2 participants