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

Ability to sanitize file name before uploading #599

Open sammyaxe opened 2 years ago

sammyaxe commented 2 years ago

Not exactly a bug, but more like a feature request.

Is there any way to sanitize filenames before they are uploaded to the server side? for e.g. test#something.jpg would cause some issue, I'm uploading the files to s3, and I would rather prevent those issues on client side.

Any suggestions would be appreciated.