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
الموضوعات ذات الصلة
| الموضوع | الردود | مرات العرض | النشاط | |
|---|---|---|---|---|
| Discourse incorrectly detecting uploaded file as an image | 9 | 863 | 25 نوفمبر 2023 | |
| I cannot upload a GIF, for a non-descript error appears | 3 | 215 | 19 مارس 2026 | |
| Missing images at Meta.discourse.org | 57 | 3759 | 20 يونيو 2026 | |
| Cannot upload images with Safari | 29 | 3365 | 13 أغسطس 2022 | |
| Faster (and smaller) uploads in Discourse with Rust, WebAssembly and MozJPEG | Blog | 35 | 5904 | 13 مايو 2025 |