From 9353d9c770504f9c8f6b5b71561e984b6ef61067 Mon Sep 17 00:00:00 2001 From: liuliaozhong Date: Mon, 15 May 2023 09:57:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20fast=5Ftransfer=5Ffile=20API=20=E5=88=86?= =?UTF-8?q?=E5=8F=91=E6=96=87=E4=BB=B6=EF=BC=8C=E5=A6=82=E6=9E=9C=E6=BA=90?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=AD=E7=9A=84=E6=96=87=E4=BB=B6=E5=90=8D?= =?UTF-8?q?=E5=8C=85=E5=90=AB=E7=A9=BA=E6=A0=BC=EF=BC=8C=E4=BC=9A=E6=8A=A5?= =?UTF-8?q?=E9=94=99=20#812?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tencent/bk/job/common/util/FilePathValidateUtil.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 b0ec6984f4..ee7f3e9cd7 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 @@ -40,7 +40,6 @@ public static boolean validateFileSystemAbsolutePath(String path) { // 路径中有合法的内置变量或全局变量通过校验 if (validateVariable(path)) { - log.warn("The path {} contains legal variables", path); return true; } @@ -52,7 +51,7 @@ public static boolean validateFileSystemAbsolutePath(String path) { } if (!result) { // 路径不合法 - log.error("The path {} is invalid and the verification fails", path); + log.warn("The path {} is invalid and the verification fails", path); } return result; }