Item13821: remove dependency on File::MMagic

pencil
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: StringifierContrib
Branches: master
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
File::MMagic is too unreliable, even File::MMagic::XS fails considerably yet on different types. Instead, we are detecting mime types based on the file extension now. This is less "magic" but more reliable and predictable. Incorrect mime type detection may have lead to high memory consumption, for instance when a media file not detected as such and treated as text/plain ... thus happily feeding it to solr.

-- MichaelDaum - 18 Oct 2015

 
Topic revision: r1 - 18 Oct 2015, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy