Update doc for #494

This commit is contained in:
OHTAKE Tomohiro committed 2012-06-13 17:44:52 +09:00
1 parent ea9ff25f98
commit 1a42a2f071
1 file changed
+3 -1
+3 -1
View File
@@ -719,9 +719,11 @@ public class Util {
* Encode a single path component for use in an HTTP URL.
* Escapes all non-ASCII, general unsafe (space and "#%<>[\]^`{|}~)
* and HTTP special characters (/;:?) as specified in RFC1738.
* (so alphanumeric and !@$&*()-_=+',. are not encoded)
* Also escapes & for convenience.
* (so alphanumeric and !@$*()-_=+',. are not encoded)
* Note that slash(/) is encoded, so the given string should be a
* single path component used in constructing a URL.
* Do not use this method for encoding query parameters.
* Method name inspired by PHP's rawurlencode.
*/
public static String rawEncode(String s) {