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
Verwandte Themen
| Thema | Antworten | Aufrufe | Aktivität | |
|---|---|---|---|---|
| Discourse incorrectly detecting uploaded file as an image | 9 | 857 | 25. November 2023 | |
| I cannot upload a GIF, for a non-descript error appears | 3 | 208 | 19. März 2026 | |
| Missing images at Meta.discourse.org | 57 | 3696 | 20. Juni 2026 | |
| Cannot upload images with Safari | 29 | 3351 | 13. August 2022 | |
| Faster (and smaller) uploads in Discourse with Rust, WebAssembly and MozJPEG | Blog | 35 | 5885 | 13. Mai 2025 |