Skip to content

Commit

Permalink
fix: fast_transfer_file API 分发文件,如果源文件中的文件名包含空格,会报错 #812
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliaozhong committed May 15, 2023
1 parent 80980e7 commit 9353d9c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public static boolean validateFileSystemAbsolutePath(String path) {

// 路径中有合法的内置变量或全局变量通过校验
if (validateVariable(path)) {
log.warn("The path {} contains legal variables", path);
return true;
}

Expand All @@ -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;
}
Expand Down

0 comments on commit 9353d9c

Please sign in to comment.