Use RFC6266 standard

This commit is contained in:
2023-09-16 19:55:57 +08:00
parent e96b099fc2
commit 0b3948ee14

View File

@@ -128,9 +128,9 @@ export function get_export_zip_response(
return new Response(readable, {
headers: {
"content-type": "application/zip",
"Content-Disposition": `attachment; filename="${
"Content-Disposition": `attachment; filename*=UTF-8''${
encodeURIComponent(title)
}.zip"`,
}.zip`,
},
});
}