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
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...
- 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 ...