bug #I24ZPN FlowExecutor.init方法,路径判断匹配失败,产生空指针异常
This commit is contained in:
parent
c6db190610
commit
578469783e
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue