OS info
- Operating System : Windows 10.0.18362
- Wappler Version : 2.1.6
Problem description
When using the dropxzone with accepted files validation enabled, I get a Bad Request response when the extension is not in the same case.
Steps to reproduce
- Add validation to allow .jpg
- Try uploading .JPG and I get bad response.
- Change validation to uppcase .JPG.
- Try uploading .jpg and I get bad response.
If i upload a file with the same extension case as set in the validation, the file uploads successfully.
Bad Response
Content-Disposition: form-data; name=“files1”; filename=“DSCF0871.JPG”
Content-Type: image/jpeg
Upload Successfully
Changed to lower case to match validation.
Content-Disposition: form-data; name=“files1”; filename=“DSCF0871.jpg”
Content-Type: image/jpeg
If you need more info I will be able to provide it.
Community Page
Last updated:
Last updated: