fix regex of character +

pull/716/head
wangshang 4 years ago
parent 288dcf633e
commit ae1a9e3870
  1. 2
      PublicComponent/src/main/java/com/arialyy/aria/orm/SqlUtil.java

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

Loading…
Cancel
Save