dotnet / dotnet/dotnet-api-docs

`WebUtility.UrlDecode` does not document conversion of '+' into ' '

Open
#9,442 0 comments 0 reactions 0 assignees View on GitHub
area-System.Runtime doc-enhancement Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

The documentation for `UrlEncode` was updated in #3124 to indicate that ' ' is converted into '+' on encode.

However:
- [ ] The documentation for `UrlEncodeToBytes` needs the same update.
- [ ] The documentation for `UrlDecode` and `UrlDecodeToBytes` needs a similar update to indicate that '+' is converted into ' ' on decode.
- [ ] All of these pages give the example that `<` and `>` are encoded as `%3c` and `%3e`, but this is incorrect. `<` and `>` are encoded as `%3C` and `%3E`. RFC 3986 says "For consistency, URI producers and normalizers should use uppercase hexadecimal digits for all percent-encodings," and that's what the implementation does.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.