fix(测试计划): 修复自定义插件安全漏洞及用例模块匹配问题
This commit is contained in:
parent
31c58d1074
commit
307489f40b
|
@ -820,6 +820,7 @@ public class MsHTTPSamplerProxy extends MsTestElement {
|
|||
} else {
|
||||
TestPlanApiCaseService testPlanApiCaseService = CommonBeanFactory.getBean(TestPlanApiCaseService.class);
|
||||
TestPlanApiCase testPlanApiCase = testPlanApiCaseService.getById(this.getId());
|
||||
testPlanApiCase = testPlanApiCase == null ? testPlanApiCaseService.getById(this.getName()) : testPlanApiCase;
|
||||
if (testPlanApiCase != null) {
|
||||
ApiTestCaseWithBLOBs caseWithBLOBs = apiTestCaseService.get(testPlanApiCase.getApiCaseId());
|
||||
if (caseWithBLOBs != null) {
|
||||
|
|
|
@ -71,9 +71,6 @@ public class ShiroUtils {
|
|||
//mock接口
|
||||
filterChainDefinitionMap.put("/mock/**", "anon");
|
||||
filterChainDefinitionMap.put("/ws/**", "anon");
|
||||
|
||||
filterChainDefinitionMap.put("/plugin/**", "anon");
|
||||
|
||||
}
|
||||
|
||||
public static void ignoreCsrfFilter(Map<String, String> filterChainDefinitionMap) {
|
||||
|
|
Loading…
Reference in New Issue