修复:在动态加载库前应对输入数据进行验证准则增加到RulesList中

wuhaoyang
Guo XIn 10 months ago
parent 80eb8c5d9b
commit 088ab51787
  1. 11
      sonar-keyware-plugins-java/src/main/java/com/keyware/sonar/java/rules/RulesList.java

@ -35,15 +35,8 @@ public final class RulesList {
AbsolutePathDetectorChecker.class, AbsolutePathDetectorChecker.class,
PathAndKeywordCheck.class, PathAndKeywordCheck.class,
DynamicCodeChecker.class, DynamicCodeChecker.class,
SystemFunctionChecker.class SystemFunctionChecker.class,
/*SpringControllerRequestMappingEntityRule.class, DynamicLibraryLoadChecker.class
AvoidAnnotationRule.class,
AvoidBrandInMethodNamesRule.class,
AvoidMethodDeclarationRule.class,
AvoidSuperClassRule.class,
AvoidTreeListRule.class,
MyCustomSubscriptionRule.class,
SecurityAnnotationMandatoryRule.class*/
)); ));
} }

Loading…
Cancel
Save