Bug #5289
Check for "fileinfo" extension
Status: | Closed | Start date: | 04/23/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | remi | % Done: | 100% | |
Category: | Install / Update | |||
Target version: | 0.90 |
Description
In ticket.class and document.class, the mime_content_type is detected at runtime.
Not in user.class
Proposal:- add a check in install/update
- use finfo_file everywhere
- drop usage of mime_content_type
Associated revisions
check fileinfo extension (patch from remi) - fixed #5289
use standard function for mime detection see #5289
History
#1 Updated by remi almost 6 years ago
Perhaps switch to FILEINFO_MIME_TYPE (5.3+) instead of FILEINFO_MIME
Perhaps a toolbox::getMime()
#2 Updated by remi almost 6 years ago
- File mime.patch added
#3 Updated by remi almost 6 years ago
- File deleted (
mime.patch)
#4 Updated by remi almost 6 years ago
- File mime.patch
added
#5 Updated by moyo over 5 years ago
- Target version changed from 0.85.4 to 0.85.5
#6 Updated by yllen over 5 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r23491.
#7 Updated by moyo over 5 years ago
- Status changed from Resolved to Closed
- Assignee set to remi
#8 Updated by orthagh over 5 years ago
- Target version changed from 0.85.5 to 0.90