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"`, }, });