Revert "fix(java): plus url encoding (#15539)" (#16158)

This reverts commit d000f90759.
This commit is contained in:
William Cheng
2023-07-22 16:44:29 +08:00
committed by GitHub
parent d000f90759
commit fb2c866dfc
4 changed files with 4 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ public class ApiClient {
* @return URL-encoded representation of the input string.
*/
public static String urlEncode(String s) {
return URLEncoder.encode(s, UTF_8).replaceAll("\\+", "%2B");
return URLEncoder.encode(s, UTF_8).replaceAll("\\+", "%20");
}
/**