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
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Discourse incorrectly detecting uploaded file as an image | 9 | 857 | November 25, 2023 | |
| I cannot upload a GIF, for a non-descript error appears | 3 | 208 | March 19, 2026 | |
| Missing images at Meta.discourse.org | 57 | 3696 | June 20, 2026 | |
| Cannot upload images with Safari | 29 | 3351 | August 13, 2022 | |
| Faster (and smaller) uploads in Discourse with Rust, WebAssembly and MozJPEG | Blog | 35 | 5885 | May 13, 2025 |