From ac67ea65ac718e40e9bbc8257168b32bb07c5c61 Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Mon, 22 Oct 2018 15:45:00 -0700 Subject: [PATCH] Fix dotnet/docs#8427 remove misleading remarks (#645) ## Summary Removes duplicate and out of place information about URL Encoding from the `JavaScriptStringEncode` methods, where it may be misleading. The documentation for `UrlEncode` is already more complete, and this isn't relevant to JavaScript specific string encoding. Fixes dotnet/docs#8427 --- xml/System.Web/HttpUtility.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xml/System.Web/HttpUtility.xml b/xml/System.Web/HttpUtility.xml index 6ec62fbc889..36108664a83 100644 --- a/xml/System.Web/HttpUtility.xml +++ b/xml/System.Web/HttpUtility.xml @@ -516,8 +516,6 @@ ## Remarks This method encodes strings. For instance, single quotation marks and double quotation marks are included as `\'` and `\"` in the encoded string. - URL encoding makes sure that all browsers correctly transmit text in URL strings. Characters such as a question mark (?), ampersand (&), slash (/), and spaces might be truncated or corrupted by some browsers. Therefore, these characters must be encoded in `a` elements or in query strings where the strings can be re-sent by a browser in a request string. - ]]> @@ -1832,4 +1830,4 @@ - \ No newline at end of file +