mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
bug #I24ZPN FlowExecutor.init方法,路径判断匹配失败,产生空指针异常
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user