[RCD] common office apps formats (m$ and openoffice) are misdetected by libmagic (bug #1485311)

Arkadiusz Miskiewicz arekm at maven.pl
Tue Sep 9 09:22:11 CEST 2008


#1485151 was solved after private talks with ALEC, so now new bug waiting for 
some action ...

http://trac.roundcube.net/ticket/1485311

The common office apps formats (m$ and openoffice) are misdetected by libmagic 
library and that means that roundcube sends such attachment with wrong 
Content-type.

I'm proposing to use plain filename extension based type detection for 
commonly misdetected formats. Example patch attached to bugreport.

Opinions?

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
_______________________________________________
List info: http://lists.roundcube.net/dev/


More information about the Dev mailing list