fix regex of character +

This commit is contained in:
wangshang
2020-07-22 14:24:10 +08:00
parent 288dcf633e
commit ae1a9e3870

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