Hi,
I have a problem with the way hypermail use the Content-Description field of attachments:
A correspondent sent my forum a message with an attachment of the form
Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Description: <GI.JPG>
This was really a JPEG, but for some reason it was not attached as such. Also the name of the attachment was not included properly. What hypermail did, is to generate an attachment file named 01-part (which is OK with my apache server since it uses magic-mime to decide what the file type is and not suffixes), and generated HTML code of the following form:
<LI>application/octet-stream attachment: <A HREF="att-0090/01-part"><GI.JPG></A>
(line splitting is for convenience here only). The main problem is that the
***angular brackets*** in the Content-Description field were ***not encoded***
to < and >. This makes the browser (netscape 4.7) ignore the
``unrecognized HTML tag'', and the attachment becomes unreachable. You can view
this example in
http://www.math.technion.ac.il/~rl/JulesVerne/forum/1999/03/0090.html, and the
mailbox file is in
http://www.math.technion.ac.il/lists/jvf/jvf.199903.gz
Thanks,
Zvi.
-- Dr. Zvi Har'El mailto:rl_at_math.technion.ac.il Department of Mathematics vox:+972-4-8296534 Technion - Israel Institute of Technology fax:+972-4-8296114 http://www.math.technion.ac.il/~rl/ Haifa 32000, ISRAELReceived on Sun 16 Jan 2000 10:26:59 AM GMT
``If you can't say somethin' nice, don't say nothin' at all.''--Thumper (1942)
Sunday, 9 Shevat 5760, 16 January 2000, 10:05AM
This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:52 PM GMT GMT