|
@@ -1,6 +1,5 @@
|
|
|
package com.ruoyi.common.security.utils;
|
|
|
|
|
|
-import com.ruoyi.common.core.exception.CaptchaException;
|
|
|
import com.ruoyi.common.core.exception.ServiceException;
|
|
|
import com.ruoyi.common.core.utils.StringUtils;
|
|
|
import com.ruoyi.system.validate.EncryptionV;
|
|
@@ -170,7 +169,7 @@ public class EncryptionUtils {
|
|
|
continue;
|
|
|
}
|
|
|
// !"#$%&*+/?\
|
|
|
- if (chr <= 38 || chr == 63 || chr == 42 || chr == 43 || chr == 47 || chr == 92) {
|
|
|
+ if (chr <= 38 && chr != 32 || chr == 63 || chr == 64 || chr == 42 || chr == 43 || chr == 47 || chr == 92) {
|
|
|
return false;
|
|
|
}
|
|
|
// 特殊字符 ASCII 124-19968
|