Opened 5 years ago
Closed 5 years ago
#1485222 closed Feature 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: | git-master |
| 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 (1)
Change History (2)
Changed 5 years ago by arekm
comment:1 Changed 5 years ago by alec
- Milestone changed from later to 0.2-beta
- Resolution set to fixed
- Status changed from new to closed
Fixed in [403e3f4b].
Note: See
TracTickets for help on using
tickets.

fallback to finfo and default mimetype