Closed Bug 123817 Opened 23 years ago Closed 22 years ago

Can't open msword attachment with 'Content-Disposition: inline'

Categories

(MailNews Core :: Attachments, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: Henry.Jia, Assigned: mscott)

Details

(Keywords: qawanted)

Attachments

(2 files)

From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
BuildID:    2002020406

I received a mail with a msword attachment and the attachment can't be opened. 
When I examed the saved mail, I found that if the line 'Content-Disposition: 
inline' is deleted and forward the mail, the attachment can be opened.

Reproducible: Always
Steps to Reproduce: Just try the attachment.

Actual Results:  The msword attachment can be opened normally.

Expected Results:  The msword attachment can't be opened.
Here is the example to reproduce this bug.
Attachment <a href=http://bugzilla.mozilla.org/showattachment.cgi?
attach_id=68127>68127</a> is a email. It can be opened directly as a plain text 
or be stored with a '.eml' suffix.
QA Contact: esther → trix
You can reproduce this bug by forwarding a mail that already contains a 
msword/doc attachment.
1. send a message A with a msword/doc attachment
2 [details] [diff] [review]. receive and open message A, it'll be ok here 
3. forward message A as a attachment(or inline, never mind) to message B
4. open message B
5. then try to open message A, now message A will be opened as plain text format

QAWANTED - please help me.
Is "attachment" a keyword that I can't use in "Additional Comments:" textbox?
Why did bugzilla reform my comment 
to "http://bugzilla.mozilla.org/showattachment.cgi?attach_id=2" in the last 
post?
Actually, mozilla treat all the attached mail which is message/rfc822 format as 
text/plain format:

Here is a example of imap fetch command:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
imap://mailer1@hockey:143/fetch%3EUID%3E/INBOX%3E12?
part=1.2&type=message/rfc822&filename=123
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Put this uri in navigator will open a mail as source in that window.

If i change the type from "message/rfc822" to "application/msword", then 
mozilla will popup a download dialog that prompt it'll open the mail with 
msword. Any hint?
To attachments.  This worksforme with Linux build 2002-11-01-04.  Is this still
a problem?
Assignee: sspitzer → mscott
Component: Mail Window Front End → Attachments
Keywords: qawanted
This worksforme now. 

I send a mail with the same msword document to me. The 'Content-Disposition' is
still 'inline'. But the document can be opened now. I tested with mozilla 1.2b -
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021010 and
Netscape 7.0 on Win2K.

Marking WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
changing qa contact to yulian
QA Contact: trix → yulian
QA Contact: yulian → stephend
verified worksforme with build 2002-12-04-08, Win2K.
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.

Attachment

General

Creator:
Created:
Updated:
Size: