Bug #5289

Check for "fileinfo" extension

Added by remi over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:04/23/2015
Priority:NormalDue 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

mime.patch Magnifier (4.56 KB) remi, 04/23/2015 07:51 PM

Associated revisions

Revision 23491
Added by yllen over 4 years ago

check fileinfo extension (patch from remi) - fixed #5289

Revision 23500
Added by moyo over 4 years ago

use standard function for mime detection see #5289

History

#1 Updated by remi over 4 years ago

Perhaps switch to FILEINFO_MIME_TYPE (5.3+) instead of FILEINFO_MIME

Perhaps a toolbox::getMime()

#2 Updated by remi over 4 years ago

  • File mime.patch added

#3 Updated by remi over 4 years ago

  • File deleted (mime.patch)

#4 Updated by remi over 4 years ago

#5 Updated by moyo over 4 years ago

  • Target version changed from 0.85.4 to 0.85.5

#6 Updated by yllen over 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r23491.

#7 Updated by moyo over 4 years ago

  • Status changed from Resolved to Closed
  • Assignee set to remi

#8 Updated by orthagh over 4 years ago

  • Target version changed from 0.85.5 to 0.90

Also available in: Atom PDF