[Libreoffice] [REVIEWED 3-5, 3-5-0] The type-detection of extension-less documents is broken

Cedric Bosdonnat cbosdonnat at suse.com
Thu Jan 26 08:27:08 PST 2012


Hello Fridrich,

On Thu, 2012-01-26 at 14:40 +0100, Fridrich Strba wrote:
> This patch:
> 
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=0d9aa8cce792d69d5147a2230b61b1cbdc089206
> 
> fixes a bug where the catch-all type detector was called first in the 
> list of type detectors when an extension-less document was passed. This 
> caused quite a number of macintosh documents to be mis-detected as 
> encoded text.

The patch looks good to me. If you tested it with several files, it's ok
for me for 3.5.0. I just cherry-picked it in -3-5-0.

--
Cedric



More information about the LibreOffice mailing list