brandonsavage / Upload

File uploads with validation and storage strategies
MIT License
1.67k stars 315 forks source link

Don't change the submitted filename #92

Open wimverstuyf opened 8 years ago

wimverstuyf commented 8 years ago

Special characters were being removed (mainly non-ANSI) which doesn't seem to be desirable when using non-English languages. E.g. the filename buffet-à-volonté.doc will be renamed to buffet--volont.doc

I couldn't find a proper way to make a filename "safe" across multiple languages so the best option seems to be to remove it altogether. I'm not sure why it had been added in the first place, it doesn't seem to be necessary.