deakjahn / flutter_dropzone

A drag-and-drop Flutter plugin (Web). Only web and only from outside into Flutter.
https://pub.dev/packages/flutter_dropzone
85 stars 36 forks source link

xslt mime type not working #63

Closed ocbdev closed 1 year ago

ocbdev commented 1 year ago

hi,

i want upload .xslt extensions file. when i filter it on pickFiles method like mime type : application/xslt+xml its not working.

how can i filter it?

deakjahn commented 1 year ago

Actually, this is the responsibility of your browser. Yes, application/xslt+xml would be the proper one but browsers don't usually support it. Try application/xml, text/xsl and similar types. But we can't do much about it if the browser doesn't co-operate...