mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
🔧 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:
parent
056172f007
commit
e192c99c7d
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue