Skip to content

Commit

Permalink
fix: fast_transfer_file API 分发文件,如果源文件中的文件名包含空格,会报错 TencentBlueKing#812
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliaozhong committed May 17, 2023
1 parent f8e422b commit 6ddd745
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6ddd745

Please sign in to comment.