# Discourse ошибочно определяет загруженный файл как изображение

**URL:** https://meta.discourse.org/t/discourse-incorrectly-detecting-uploaded-file-as-an-image/283564
**Category:** Support
**Created:** [26.Октябрь.2023 17:44:13 UTC](https://meta.discourse.org/t/discourse-incorrectly-detecting-uploaded-file-as-an-image/283564 "2023-10-26T17:44:13Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![xyzzy](https://avatars.discourse-cdn.com/v4/letter/x/e36b37/32.png) [@xyzzy](https://meta.discourse.org/u/xyzzy)
#### Post date: [25.Ноябрь.2023 00:48:33 UTC](https://meta.discourse.org/t/discourse-incorrectly-detecting-uploaded-file-as-an-image/283564/10 "2023-11-25T00:48:33Z")

</div>

Отлично! Спасибо! Теперь, когда я протестировал это в своей dev-среде, я разверну это в test и prod средах.

Кстати, если у вас есть время, я был бы рад узнать ваше мнение по смежной проблеме ([How to customize MIME media type emitted for certain attachments?](https://meta.discourse.org/t/how-to-customize-mime-media-type-emitted-for-certain-attachments/282111)).

---

_[View the full topic](https://meta.discourse.org/t/discourse-incorrectly-detecting-uploaded-file-as-an-image/283564)._
