-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Special characters in filename causes uploads to fail #133
Comments
Thanks for the bug report @jet10000! We'll take a look. |
@thebengeu @jet10000 @alaister
|
S3 supports UTF-8 characters in filenames. However, at the moment, we are very strict with which filenames we allow. One option is to update the |
I would love support for å,ä,ö. Love from Sweden |
Hi, opendal meets a similiar problem in apache/opendal#2190 that we have a test case (which passed on most storage platforms from s3, gcs, azalob to hdfs) like the following: let path = format!("{} !@#$%^&()_+-=;',.txt", uuid::Uuid::new_v4()); Does this case make sense to you? I'm willing to help fix this. I believe that all URL-unsafe characters should be percent-encoded, and the server-side should handle the job of decoding them. |
I would love support for ´ I can't use words with accents in my images, which is very common in Spanish. |
Also ÖÄÜ in german |
I could understand that the |
MacOS generates screenshot names that don't match the pattern in |
Ops! This issue seems easy to fix but have last for 2 year's. Unbelievable! |
hi everyone My solution is base64 encoding when uploading file, demo: https://github.com/ThaddeusJiang/supabase-helpers/blob/main/backup_storage_buckets.ts#L71-L73 |
This is a big pretty big oversight. At the very least it would be nice if this was documented somewhere |
You can upload files using any name (e.g. base64, thx @ThaddeusJiang ), store the original file name in a different table, and then use it when generating the public link: const {
data: { publicUrl },
} = supabase.storage
.from('my_bucket')
.getPublicUrl(internalFileName, { download: originalFileName }) Source (for URL access): https://supabase.com/docs/guides/storage/serving/downloads#downloading |
Bug report
When upload "望舌诊病.pdf"
Describe the bug
The text was updated successfully, but these errors were encountered: