[Bug]: non-latin letters in file names are stripped #2703
Labels
area: backend
Related to backend functionality or under the /backend directory
bug
Something isn't working
Stale
What happened?
non-ascii letters removed from file names.
it's caused by using file name as a key for storing upload https://github.com/QuivrHQ/quivr/blob/main/backend/modules/upload/service/upload_file.py#L81and upload keys are restricted supabase/storage#133 Thus Quivr removes non-ascii due to #1728
I made an attempt to fix it, but not pleased with the result. I think it's worth to add
original_file_name
column intoknowledge
table and identify file uploads by uuid. WDYT?Relevant log output
No response
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: