ZF-9405: MimeType recognition broken in ZF 1.10.2

Issue Type: Bug Created: 2010-03-11T07:38:19.000+0000 Last Updated: 2010-03-12T02:51:12.000+0000 Status: Resolved Fix version(s): - 1.10.3 (01/Apr/10)

Reporter: Dustin Sweigart (dustins) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate_File

Related issues: Attachments:


I'm getting the same problems as described in

Is there something I can do to get you more information, it seems to be doing the same thing, although the code doesn't look wrong, it is finding a magic file database correctly, finfo just fails when it finds one.


Posted by Thomas Weidner (thomas) on 2010-03-12T02:50:08.000+0000

It seems that some *nix distributions deliver a broken mime database.

The only way to get around this problem is to give a own database when non of the automatically found database and also the internal used database is broken.

Posted by Thomas Weidner (thomas) on 2010-03-12T02:51:12.000+0000

The detection itself has changed with ZF-9278. But a broken database will still be a problem as finfo does not work without database.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.