🔧 fix: Apply Convo Export filename sanitization at export, not input (#8779)

Co-authored-by: Woosub Kim <woosub.kim@navercorp.com>
This commit is contained in:
William Kim 2025-07-31 20:28:33 +09:00 committed by GitHub
parent 056172f007
commit e192c99c7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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({
<Input
id="filename"
value={filename}
onChange={(e) => setFileName(filenamify(e.target.value || ''))}
onChange={(e) => setFileName(e.target.value || '')}
placeholder={localize('com_nav_export_filename_placeholder')}
/>
</div>