mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 07:35:53 +00:00
Update doc for #494
This commit is contained in:
1 parent
ea9ff25f98
commit
1a42a2f071
1 file changed
+3
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user