From 80269b713cfc418ea24fe620acb3a50b133906e1 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 8 Apr 2026 20:42:11 +0000 Subject: [PATCH] chore: Update dist --- THIRD-PARTY | 2 +- dist/index.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/THIRD-PARTY b/THIRD-PARTY index 68eff6c..f6472cc 100644 --- a/THIRD-PARTY +++ b/THIRD-PARTY @@ -2665,7 +2665,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The following npm package may be included in this product: - - basic-ftp@5.2.0 + - basic-ftp@5.2.1 This package contains the following license: diff --git a/dist/index.js b/dist/index.js index 9123e72..a386cbb 100644 --- a/dist/index.js +++ b/dist/index.js @@ -51890,6 +51890,9 @@ var require_Client = __commonJS({ * a given path to fix that issue for most cases. */ async protectWhitespace(path3) { + if (/[\r\n\0]/.test(path3)) { + throw new Error("Invalid path: Contains control characters"); + } if (!path3.startsWith(" ")) { return path3; }