[php-maint] etch->lenny upgrade changes (breaks) php fileinfo behavior

Mike Ashton mike at moo.com
Tue Jun 23 13:54:14 UTC 2009


Hi folks,

Whilst testing our upgrade path from etch->lenny, we noticed it broke
our file uploader because the types of images changed from image/jpeg
(etc.) to application/octet-stream.  This in turn is because fileinfo
is looking in a different place for its magic files and useful (rich)
magic files don't exist on lenny in any of the chosen locations.

To see what I'm on about, compare:        

$fh = finfo_open(FILEINFO_MIME);
print finfo_file($fh,"some.jpeg")."\n";

on etch and lenny

Thanks,
-- 
Mike Ashton
Network Infrastructure Manager
moo.com




More information about the pkg-php-maint mailing list