Bug Report dropzone

OS info

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

  1. Add validation to allow .jpg
  2. Try uploading .JPG and I get bad response.
  3. Change validation to uppcase .JPG.
  4. 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: