Tried to create a PR but I don't have write access to the docs repo. I'm not sure if it's a me thing 🤔 But I wanted to add this line to the docs on file extension rules for Storage: "This parameter allows you to provide a list of file extensions that will be accepted into the bucket. Bucket validation against file extensions are case-sensitive."
I had some rules set up against my bucket and trying to upload a .JPEG file didn't work against .jpeg. I assumed that the checks were case-insensitive which wasn't the case. I looked into it a little bit on case sensitivity for file extensions, and it seems like being case sensitive is probably the better approach for file extensions. Hence, it would probably be a good idea to call this out in the docs. Maybe even in the UI? ^_^
Hi @itsjustintime - We had an internal discussion about this and yeah this is something we can support. Can you create a github issue for the same? If not, I will make one
You mean to make it case insensitive? Or to create an issue in the docs repo to update it?
Case insensitive, yes
Recommended threads
- Storage files aren’t showing on mobile
hi, what can be the problem? i have a storage and there are images in it, the permissions are read for All Users, everything is fine on desktop, but on mobile t...
- Delete storage files all at once
I am using Appwrite Cloud. I want to delete all storage files in my bucket similar to how I can select all documents in a collection and delete them all at once...
- Storage images are not showing on mobile
Hi, can anyone help me? I have some images on the storage, and it is not shown on mobile, on desktop everything is fine.