using Content-Description in attachments (fwd)

From: Zvi Har'El <rl_at_math.technion.ac.il_at_hypermail-project.org>
Date: Wed, 9 Feb 2000 09:52:43 +0200 (IST)
Message-ID: <Pine.GSO.4.10.10002090949560.17959-100000_at_leeor.math.technion.ac.il>


Hi Friends,

I sent this few weeks ago but got no reaction. I am afraid it got lost in the
(Hyper) mail ;-)

Best,

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, ISRAEL
"If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)
                              Wednesday, 3 AdarI 5760, 9 February 2000, 9:50AM

---------- Forwarded message ----------
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by leeor.math.technion.ac.il (8.9.3/8.9.3) with ESMTP id KAA21131
	for <rl_at_math.technion.ac.il>; Sun, 16 Jan 2000 10:38:28 +0200 (IST)
Received: by landfield.com (8.9.3/8.9.3) id CAA13405
	for hypermail-outgoing; Sun, 16 Jan 2000 02:26:03 -0600 (CST)
Received: from leeor.math.technion.ac.il (leeor.math.technion.ac.il
    [132.68.115.2])
	by landfield.com (8.9.3/8.9.3) with ESMTP id CAA13383
	for <hypermail_at_landfield.com>; Sun, 16 Jan 2000 02:25:00 -0600 (CST)
Received: from localhost (rl_at_localhost)
	by leeor.math.technion.ac.il (8.9.3/8.9.3) with ESMTP id KAA20867
	for <hypermail_at_landfield.com>; Sun, 16 Jan 2000 10:25:14 +0200 (IST)
Date: Sun, 16 Jan 2000 10:25:14 +0200 (IST)
From: "Zvi Har'El" <rl_at_math.technion.ac.il>
To: Hypermail Developers List <hypermail_at_rkive.landfield.com>
Subject: using Content-Description in attachments
Message-ID:
    <Pine.GSO.4.10.10001161005120.20231-100000_at_leeor.math.technion.ac.il>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-hypermail_at_landfield.com
Precedence: bulk
Reply-To: "Zvi Har'El" <rl_at_math.technion.ac.il>

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 &lt; and &gt;. 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, ISRAEL ``If you can't say somethin' nice, don't say nothin' at all.''--Thumper (1942) Sunday, 8 Shevat 5760, 16 January 2000, 10:05AM
Received on Wed 09 Feb 2000 09:54:43 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:52 PM GMT GMT