diff --git a/src/backend/commons/common-utils/src/main/java/com/tencent/bk/job/common/util/FilePathValidateUtil.java b/src/backend/commons/common-utils/src/main/java/com/tencent/bk/job/common/util/FilePathValidateUtil.java index ee7f3e9cd7..fdc1aa3bd3 100644 --- a/src/backend/commons/common-utils/src/main/java/com/tencent/bk/job/common/util/FilePathValidateUtil.java +++ b/src/backend/commons/common-utils/src/main/java/com/tencent/bk/job/common/util/FilePathValidateUtil.java @@ -52,6 +52,8 @@ public static boolean validateFileSystemAbsolutePath(String path) { if (!result) { // 路径不合法 log.warn("The path {} is invalid and the verification fails", path); + // 路径校验失败输出日志,验证阶段不拦截返回true + result = true; } return result; }