From 54669038e0594ea46f3149b38d52c13c604d223f Mon Sep 17 00:00:00 2001 From: lifegpc Date: Mon, 29 May 2023 14:01:00 +0800 Subject: [PATCH] Minor fix --- server/export_zip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/export_zip.ts b/server/export_zip.ts index 799237a..e2291f0 100644 --- a/server/export_zip.ts +++ b/server/export_zip.ts @@ -117,7 +117,7 @@ export function get_export_zip_response(gid: number, db: EhDb) { headers: { "content-type": "application/zip", "Content-Disposition": `attachment; filename="${ - gmeta.title.replace(/"/g, '\\"') + encodeURIComponent(gmeta.title) }.zip"`, }, });