Certain attachment MIME structure is not recognized by Mozilla

VERIFIED FIXED in M12

Status

P3
major
VERIFIED FIXED
19 years ago
10 years ago

People

(Reporter: momoi, Assigned: rhp)

Tracking

Trunk
x86
Windows NT

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

19 years ago
** Observed with 11/18/99 Win32 M12 build **

This bug was originally reported by Henrik Gemal <gemal@dk.net>.
Outlook 2000 uses a type of MIME structure like the following when
the user attaches a file without bothering to write a message into
the message body.

===================
From: Henrik Gemal <gemal@dk.net>
To: "'momoi@netscape.com'" <momoi@netscape.com>,
        "'iqax2@netscape.com'"
         <iqax2@netscape.com>
Subject: Body=GIF
Date: Mon, 22 Nov 1999 11:30:49 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
Content-Type: image/gif;
        name="title.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename="title.gif"
Content-Location: ATT-0-E5CE1DC335A0D311A75500104B7915CA-T
        ITLE.GIF

(B64'ed data follow)
....

===================

Mozilla is not able to display an attachment clip in the Viewing window.
Note the "Content-Disposition: attachment;" line. This should be enough
to have it recognized as an attachment.

Right now, Mozilla simply shows blank body with no "clip" icon.
Thus, there is no way to know that there is an attachment here.
Under 4.7, the attachment link and icon are
displayed for this message.

Contrast this wirh a message generated by Outlook Express 5:

=========================================
Content-Type: multipart/mixed;
        boundary="----=_NextPart_000_000A_01BF3487.20EC9C70"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300

X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

This is a multi-part message in MIME format.

------=_NextPart_000_000A_01BF3487.20EC9C70
Content-Type: text/plain;
        charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit



------=_NextPart_000_000A_01BF3487.20EC9C70
Content-Type: application/octet-stream;
        name="ws_ftp.log"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
        filename="ws_ftp.log"

(file omitted)

=========================================

Here, there is an empty body but with a structure. Mozilla is able to
pick up the structure and create a clip icon. The body display
is simply empty.

Under 4.x, we show a little table with the name of an attachment for
a message of this type. I gather we already have a bug for this part,
i.e. not creating some display in the Viewing window. Assuming this to
be the case, we should use this bug for not showing the clip icon
or not recognizing the first type of attachment structure mentioned above.
(Reporter)

Comment 1

19 years ago
Created attachment 2993 [details]
2 msgs with attachment MIME structure
(Reporter)

Comment 2

19 years ago
The aboev attachment contains 2 messages:

1. A msg sent from Outlook 2000 whose attachment is not
   sensed by Mozilla. (discussed above)
2. A msg sent from Outlook Express 5 which contains an empty
   MIME structure followed by an attachment structure. Mozilla
   does sense there is an attachment here and displays an icon.

I made an error in MIME type for ZIP. Please save "showattachment.cgi"
as "showattachment.zip".
(Assignee)

Updated

19 years ago
Status: NEW → ASSIGNED
Target Milestone: M12
(Assignee)

Comment 3

19 years ago
Ok, there is really only one bug here...the first message with the
attachment/gif as a body is being displayed incorrectly. I need to look into
that issue.

The second message that has a logfile as the attachment is being displayed
correctly. 5.0 will no longer show that table with cryptic information in the
message body for attachments. The pulldown menu is the place to look for any
and all attachments.

- rhp

Updated

19 years ago
QA Contact: lchiang → pmock
(Assignee)

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Updated

19 years ago
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.