登录提交信息非法请求解析错误则忽略异常
This commit is contained in:
@@ -43,7 +43,11 @@ public class DesUtils {
|
||||
return "";
|
||||
}
|
||||
if ("Base64".equals(secretKey)) {
|
||||
return EncodeUtils.decodeBase64String(data);
|
||||
try {
|
||||
return EncodeUtils.decodeBase64String(data);
|
||||
}catch (IllegalArgumentException e) {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
String[] ks = StringUtils.split(secretKey, ",");
|
||||
if (ks.length >= 3){
|
||||
|
||||
Reference in New Issue
Block a user