Topic: File upload accept extension zip only

Karg priority asked 2 months ago

set acceptedExtensions to zip and allow zip files (only) to be uploaded

does not allow zip files (no error, no file added)

Kamila Pieńkowska staff answered 2 months ago

Does this happen to you locally or only in the snippet environment?

Karg priority commented 2 months ago

In all environments. I've found a solution. If i add acceptedExtension "application/x-zip-compressed" it works. _checkAcceptedExtensions() fails because in "mime-type-data.js" it says a different mime type for .zip " { mime_type: 'application/zip', ext: '.zip' },". It happens also on my customers side, so seems to be a wider issue.

Kamila Pieńkowska staff commented 2 months ago

Thank you for letting as know about this problem. We will look into it.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.2.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes