23 / resumable.js

A JavaScript library for providing multiple simultaneous, stable, fault-tolerant and resumable/restartable uploads via the HTML5 File API.
MIT License
4.65k stars 611 forks source link

First and Last Chunks server side validation #596

Open ideiasfrescas opened 2 years ago

ideiasfrescas commented 2 years ago

Hello

We believe that resumable.js provides a valid function by checking the type, but the file extension can be changed to anything else by the uploading user, so as far as resumable knows the file has a valid extension but the mime content is not.

We would like to ask when to validate a mime type on the server side using prioritizeFirstAndLastChunk using the PHP Backend.

Thank you in advance. Best regards.