You can only upload allowed file types by extension, that is it. So if you have whitelisted .xls, people can upload .xls files.
codinghorror
(Jeff Atwood)
2
Sujets connexes
| Sujet | Réponses | Vues | Activité | |
|---|---|---|---|---|
| Discourse incorrectly detecting uploaded file as an image | 9 | 857 | Novembre 25, 2023 | |
| I cannot upload a GIF, for a non-descript error appears | 3 | 208 | Mars 19, 2026 | |
| Missing images at Meta.discourse.org | 57 | 3696 | Juin 20, 2026 | |
| Cannot upload images with Safari | 29 | 3351 | Août 13, 2022 | |
| Faster (and smaller) uploads in Discourse with Rust, WebAssembly and MozJPEG | Blog | 35 | 5885 | Mai 13, 2025 |