From Dev.to
Safe Download Filenames in JavaScript: Turning Whatever the User Uploaded into bruh-trim.mp3
Every browser tool that edits a file ends the same way: it hands a new file back. And the moment it does, it has to answer a question nobody thinks about while building the editing part: what should t...
