fix url encoding method

This commit is contained in:
Grahame Grieve 2024-08-08 08:43:20 +08:00
parent 23972f08db
commit 7f25139a05
1 changed files with 1 additions and 1 deletions

View File

@ -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");
} }