From e192c99c7d448e29d61c4727d1bb7c71e61a7a45 Mon Sep 17 00:00:00 2001 From: William Kim Date: Thu, 31 Jul 2025 20:28:33 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix:=20Apply=20Convo=20Export=20?= =?UTF-8?q?filename=20sanitization=20at=20export,=20not=20input=20(#8779)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Woosub Kim --- client/src/components/Nav/ExportConversation/ExportModal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Nav/ExportConversation/ExportModal.tsx b/client/src/components/Nav/ExportConversation/ExportModal.tsx index 85a1f9be3c..642b5bbc81 100644 --- a/client/src/components/Nav/ExportConversation/ExportModal.tsx +++ b/client/src/components/Nav/ExportConversation/ExportModal.tsx @@ -72,7 +72,7 @@ export default function ExportModal({ const { exportConversation } = useExportConversation({ conversation, - filename, + filename: filenamify(filename), type, includeOptions, exportBranches, @@ -95,7 +95,7 @@ export default function ExportModal({ setFileName(filenamify(e.target.value || ''))} + onChange={(e) => setFileName(e.target.value || '')} placeholder={localize('com_nav_export_filename_placeholder')} />