[imp] Mime (magic) trouble (HEAD)
Jan Schneider
jan at horde.org
Fri Apr 2 01:38:51 PST 2004
Zitat von Jan Kuipers <jrkuipers at lauwerscollege.nl>:
> Citeren Jan Kuipers <jrkuipers at lauwerscollege.nl>:
>
>> Regarding HEAD:
>>
>> When attaching a (binairy) file with an unknown mimetype, this file
>> is attached
>> as text/plain. With the standard magic file from Apache (1.3.28) even a dos
>> executable is marked as text/plain! Using a more extensive magic file solves
>> some of this, but not all. When a binairy file is attached as
>> text/plain, the
>> message size becomes very big! Did I miss something or is this a bug?
>
> When I use PHP without the mime_magic module everything works ok
I thought this might be related to my recent changes to Magic.php, but I
can't reproduce this, neither with nor without the mime-magic extension.
In any case it looks like a broken mime-magic extension. Check that you
specified an existing magic.mime file when compiling and PHP and that this
is not broken/outdated.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the imp
mailing list