bug #I24ZPN FlowExecutor.init方法,路径判断匹配失败,产生空指针异常

This commit is contained in:
bryan31
2021-03-18 16:59:02 +08:00
parent c6db190610
commit 578469783e

View File

@@ -70,7 +70,7 @@ public class FlowExecutor {
}
private boolean isLocalConfig(String path) {
Pattern p = Pattern.compile("^[\\w\\/]+(\\/\\w+)*\\.xml$");
Pattern p = Pattern.compile("^[\\w_\\-\\@\\/]+\\.xml$");
Matcher m = p.matcher(path);
return m.find();
}