提交 14979c0d 编写于 作者: 悬衡

secure method list no null judge

上级 8e0235c3
......@@ -125,7 +125,7 @@ public class QLExpressRunStrategy {
}
String fullMethodName = method.getDeclaringClass().getName() + "." + method.getName();
if (!SECURE_METHOD_LIST.isEmpty()) {
if (SECURE_METHOD_LIST != null && !SECURE_METHOD_LIST.isEmpty()) {
// 有白名单配置时则黑名单失效
if (!SECURE_METHOD_LIST.contains(fullMethodName)) {
throw new QLSecurityRiskException("使用QLExpress调用了不安全的系统方法:" + method);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册