mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
修复windows场景下无法解析模糊路径的bug
This commit is contained in:
@@ -136,8 +136,8 @@ public class FlowExecutor {
|
||||
// 查找对应的解析器
|
||||
parser = FlowParserProvider.lookup(path);
|
||||
parserNameSet.add(parser.getClass().getName());
|
||||
// 替换掉前缀标识(如:xml:/json:),保留剩下的完整地址
|
||||
path = ReUtil.replaceAll(path, PREFIX_FORMAT_CONFIG_REGEX, "");
|
||||
// 替换掉前缀标识(如:xml:/json:),保留剩下的完整地址,并统一路径格式
|
||||
path = ReUtil.replaceAll(path, PREFIX_FORMAT_CONFIG_REGEX, "").replace("\\", "/");
|
||||
rulePathList.add(path);
|
||||
|
||||
// 支持多类型的配置文件,分别解析
|
||||
|
||||
Reference in New Issue
Block a user