Open JingyeHou opened 5 years ago
can we add more accurate MimeType checking so that we can know that file is json?
Specifically this in reference to https://github.com/react-component/upload/blob/master/src/attr-accept.js
In this file the file extension is preferred over direct mimeType. It would be preferable to have the actual mimetype checked instead.