Skip to content

UriFormatException when stringToEscape exceeds 32766 characters is lifted #10901

@desdesdes

Description

@desdesdes

Type of issue

Outdated article

Description

The text mentions that a UriFormatException is thrown when The length of stringToEscape exceeds 32766 characters. however this limitation was lifted in .NET 5 and higher.

See:
dotnet/runtime@08b76ee

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.uri.escapedatastring?view=net-9.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions