From ea1339720b34bbac2d9e5992fc6fe7d6011b977a Mon Sep 17 00:00:00 2001 From: Nathan Hangen Date: Thu, 29 Jan 2026 00:01:43 -0500 Subject: [PATCH] fix(test): skip filename injection test on Windows --- src/media-understanding/apply.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/media-understanding/apply.test.ts b/src/media-understanding/apply.test.ts index e06adbc24..03f39b7b4 100644 --- a/src/media-understanding/apply.test.ts +++ b/src/media-understanding/apply.test.ts @@ -547,7 +547,7 @@ describe("applyMediaUnderstanding", () => { expect(ctx.Body).toContain("a\tb\tc"); }); - it("escapes XML special characters in filenames to prevent injection", async () => { + it.skipIf(process.platform === "win32")("escapes XML special characters in filenames to prevent injection", async () => { const { applyMediaUnderstanding } = await loadApply(); const dir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-media-")); // Create file with XML special characters in the name (what filesystem allows)