Ticket #1485222 (closed Patches: fixed)
use fallback if mime_content_type() returns false
| Reported by: | arekm | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.2-beta |
| Component: | PHP backend | Version: | svn-trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
mime_content_type() can return false in some cases (like when mime database is empty).
Currently roundcube doesn't fallback to fileinfo and to default 'text/plain' which is very bad.
Correct that.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
