Merge pull request #716 from chmod4755/fix-encoding-plus-character

fix regex of character +
This commit is contained in:
lyy
2020-07-22 15:14:39 +08:00
committed by GitHub

View File

@@ -352,7 +352,7 @@ final class SqlUtil {
* @return 编码后的字符串
*/
static String encodeStr(String str) {
str = str.replaceAll("\\\\+", "%2B");
str = str.replaceAll("\\+", "%2B");
return URLEncoder.encode(str);
}