[horde] attachment corrupted when uploaded via webmail and firefox

Vilius Šumskas vilius at lnk.lt
Tue Mar 23 20:58:26 UTC 2010


Sveiki,

Tuesday, March 23, 2010, 2:20:23 PM, you wrote:

> Here is what we've tried:

> update to most current packages from Redhat
> update Pear modules
> disable only fileinfo extension in php.ini
> disable only mime_magic.magicfile reference in php.ini
> disable both extensions
> use only $conf['mime']['magic_db'] = '/usr/share/file/magic.mime'; in conf.php
> disable both extensions and the conf.php line

I'm  not  sure, but I think PHP can fall back to system's default mime
path  if  mime_magic.magicfile  is  left empty in php.ini.

Try  disabling  it  in  MIME/Magic.php  file  were  your  framework is
installed (search for "function analyzeFile").


-- 
Best regards,
 Vilius



More information about the horde mailing list