Back

Storage Extension Rules

  • 0
  • Storage
itsjustintime
31 Aug, 2023, 17:41

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? ^_^

TL;DR
User wants to make the file extension rules for storage case-insensitive. They suggest adding a line to the documentation to mention that file extension checks are case-sensitive. They also suggest mentioning it in the UI. User doesn't have write access to the docs repo but someone else can create a Github issue for them. Solution: The user should create a Github issue requesting the addition of the line to the documentation.
joeyouss
4 Sep, 2023, 18:21

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

itsjustintime
4 Sep, 2023, 18:34

You mean to make it case insensitive? Or to create an issue in the docs repo to update it?

joeyouss
4 Sep, 2023, 18:41

Case insensitive, yes

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more