Merge pull request #716 from chmod4755/fix-encoding-plus-character
fix regex of character +
This commit is contained in:
@@ -352,7 +352,7 @@ final class SqlUtil {
|
|||||||
* @return 编码后的字符串
|
* @return 编码后的字符串
|
||||||
*/
|
*/
|
||||||
static String encodeStr(String str) {
|
static String encodeStr(String str) {
|
||||||
str = str.replaceAll("\\\\+", "%2B");
|
str = str.replaceAll("\\+", "%2B");
|
||||||
return URLEncoder.encode(str);
|
return URLEncoder.encode(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user