From bfd6157df152a71256f32de94c31c5727640b20c Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Fri, 5 Jun 2026 10:37:02 +0200 Subject: [PATCH] use orignal file names --- content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.js b/content.js index 2564f27..6903a63 100644 --- a/content.js +++ b/content.js @@ -155,7 +155,7 @@ function getApplicantArchiveFileName(afile) { const extension = sourceName.includes(".") ? `.${sanitizeZipPathSegment(sourceName.split(".").slice(-1)[0], "file")}` : "" - const baseName = sanitizeZipPathSegment(afile.field_name ?? afile.file_name, "file") + const baseName = sanitizeZipPathSegment(afile.name, "file") return `${baseName}${extension}` }