[imp] Attachment corruption due to incorrect mime type
Jochen Roderburg
Roderburg at Uni-Koeln.de
Sun May 31 16:52:16 UTC 2009
Quoting Tornoci Laszlo <torlasz at xenia.sote.hu>:
>
>> Hi,
>>
>> my problem is, some binary files attached get recognized as
>> plain/text, and as a result are coded as quoted-printable. This
>> leads to corruption of the files, as explained here:
>> http://lists.horde.org/archives/imp/Week-of-Mon-20060424/045099.html
>>
>> If I make a binary file like:
>> dd bs=1024 count=10 </dev/urandom > 10kB
>> that's full of nonASCII bytes, 'file' says data:
>>
>> $ file 10kB
>> 10kB: data
>>
>> If I send a message through IMP with '10kB' attached (browser:
>> Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.10)
>> Gecko/2009042708 Fedora/3.0.10-1.fc10 Firefox/3.0.10)
>>
>> it gets attached as plain/text coded as quoted-printable (and gets
>> corrupted).
Must be a particular problem on your system and/or browser.
When I do the same on my Linux here I see:
file 10kB
10kB: data
file -i 10kB
10kB: application/octet-stream; charset=binary
and my Firefox browser sets the mimetype also correct to
application/octet-stream:
Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.10) Gecko/2009042315
Firefox/3.0.10
Best regards,
Jochen Roderburg
RRZK
University of Cologne
Robert-Koch-Str. 10 Tel.: +49-221/478-7024
D-50931 Koeln E-Mail: Roderburg at Uni-Koeln.DE
Germany
More information about the imp
mailing list