fix url encoding method
This commit is contained in:
parent
23972f08db
commit
7f25139a05
|
@ -830,7 +830,7 @@ public class Utilities {
|
||||||
|
|
||||||
|
|
||||||
public static String encodeUri(String v) {
|
public static String encodeUri(String v) {
|
||||||
return v.replace(" ", "%20").replace("?", "%3F").replace("=", "%3D").replace("|", "%7C").replace("+", "%2B");
|
return v.replace("%", "%25").replace(" ", "%20").replace("?", "%3F").replace("=", "%3D").replace("|", "%7C").replace("+", "%2B");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue