danielm / uploader

A lightweight and very configurable jQuery plugin for file uploading using ajax(a sync); includes support for queues, progress tracking and drag and drop.
https://danielmg.org/demo/java-script/uploader
MIT License
1.17k stars 385 forks source link

Problem with allowedTypes in Chrome over Windows #99

Open rodrigosalinas opened 5 years ago

rodrigosalinas commented 5 years ago

If you use allowedTypes like in my case with the value *'text/', it works perfectly well in Mac and Ubuntu. But it doesn't work on Windows. When I check the type property of the File** object it is empty. Why is that difference? If it really is Microsoft fault, then perhaps it is necessary to modify the logic to infer the file type. Thank you very much for so good component.