Skip to content

Update Live with current Master #3136

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

Merged
merged 6 commits into from
Sep 7, 2019
Merged

Update Live with current Master #3136

merged 6 commits into from
Sep 7, 2019

Conversation

rpetrusha
Copy link

Update Live with current Master

hubalazs and others added 5 commits September 6, 2019 07:53
* Space characters are encoded as '+'

Existing description implies that the specified character classes are the only exceptions to hexadecimal encoding.
I'm trying to match Javascript 'encodeURIComponent' behavior, and expected WebUtility.UrlEncode to provide this. 
However, as spaces are a further exception, this method produces results that are functionally identical to that produced by HttpUtility.UrlEncode.

Might also be useful to mention Uri.EscapeDataString and AntiXss.UrlEncode as well here, as these are now preferred options when looking to encode URIs in a transparent, reversible manner.

* Update xml/System.Net/WebUtility.xml

As requested, removed reference to HttpUtility.
Thanks @davidsh and @mairaw

Co-Authored-By: Maira Wenzel <[email protected]>
* Fixes to PrepareAsync
* Made cancellation token description more consistent and added
  note where default values are present.
* Changed default value for cancellation tokens to be
  CancellationToken.None instead of null
@mairaw
Copy link
Contributor

mairaw commented Sep 7, 2019

Opened PR #3137 to fix the warnings.

@mairaw mairaw merged commit 89e05ca into live Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants