提交 1a42a2f0 编写于 作者: O OHTAKE Tomohiro

Update doc for #494

上级 ea9ff25f
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册