Hello, I have a bucket that accepts *.jpg. It can accept any jpg file successfully. However, when I upload image with *.JPG, it fails with error: Warning: An unhandled error was caught from submitForm() Error: File extension not allowed
Is there a way to make the whitelisted extensions case-insensitive? Thanks.
As of now there going to different between lower & upper case. You can see here https://github.com/utopia-php/storage/blob/main/src/Storage/Validator/FileExt.php#L50 the checking process is pretty arbitrary.
For now, you can the best option would be to ass all the uppercase version for your extensions, From what I can tell it sounds like good issue / feature request.
hey Binyamin, i just realized that it allows free entries. My apologies. i thought i was only allowed to select the options indicated in the fields only
i have proceeded to add all the uppercase version of the extensions
thanks so much for this
[SOLVED] Bucket does not allow extension that is of uppercase letter
๐
Recommended threads
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Storage Chunk upload bug
Hi, I'm experiencing an issue with Appwrite Storage chunked uploads. Small files upload successfully, but larger video files that require chunking fail. For ...
- What does it means
I am looking for Appwrite for migration, but i am confused with the term "Unlimited" in Pricing table of Documents . Kindly Let me know what does it ...