Closed
Bug 149072
Opened 22 years ago
Closed 22 years ago
included GIF images not displayed properly
Categories
(MailNews Core :: MIME, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.2alpha
People
(Reporter: samuel, Assigned: bugzilla)
Details
(Whiteboard: have fix)
Attachments
(3 files)
63.57 KB,
message/rfc822
|
Details | |
26.98 KB,
message/rfc822
|
Details | |
808 bytes,
patch
|
vparthas
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020523
BuildID: build 2002060107
Included GIF images do not display properly in the mail viewer.
It Displays properly with netscape 4.79 mail
Reproducible: Always
Steps to Reproduce:
1.Copy the attached file to a mail folder
2.view the resulting message
3.
Actual Results: broken image icons
Expected Results: pretty pictures
This problem appears to have been occurring for quite some time.
(it appears to have been broken since at least the RedHat7.1 release).
(I can also attach a screendump, if you wish)
This problem appears to be with GIF attachments.
GIFs display fine in regular web pages (or if simply referenced on external
webservers from within the HTML mail)
If I double-click on the image name in the attachment window, it displays fine.
I just noticed that both GIFs and JPEGs are included in the email.. Neither GIFs
nor JPEGs are being displayed.
Summary: included GIF images not displayed properly → included GIF images not displayed properly
Updated•22 years ago
|
QA Contact: gayatri → esther
Comment 4•22 years ago
|
||
I'm attaching two more e-mail messages affected by this.
Mozilla 2002070203
Mac OS X
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•22 years ago
|
||
Comment 6•22 years ago
|
||
The other message is 450 KB -- too large to upload to Bugzilla. Let me know and
I can forward it. Both are HTML format -- don't view as plain text or the
message won't look right and the bug may not be exposed.
Assignee | ||
Comment 7•22 years ago
|
||
Mozilla is not able to display the first sample message because the image parts
use contend-id instead of content-location!
Mozilla is not able to display the second sample because the image parts have a
content-type unknow/unknow!
I don't know yet if those 2 problems violate the RFC but both Netscape
Communicator and Outlook are able to display correctly the message...
OS: Linux → All
Assignee | ||
Comment 8•22 years ago
|
||
This patch addresses only the first problem (content-location used instead of
content-id). I did not fix the second problem (invalid content-type) because
that would re-open a potential security hole in Mozilla. We decided a while ago
to restricted related part that we accept to display inline to well know
content-type. unknown/unknow is not a valid one!
Assignee | ||
Updated•22 years ago
|
Whiteboard: have fix
Assignee | ||
Comment 9•22 years ago
|
||
Comment on attachment 93331 [details] [diff] [review]
Proposed fix, v1
This fix cause a regression. Embedded remote image are not shown anymore!
Attachment #93331 -
Flags: needs-work+
Assignee | ||
Comment 10•22 years ago
|
||
Comment on attachment 93331 [details] [diff] [review]
Proposed fix, v1
forget about my previous comment, the patch is good. I forget that I have the
pref to block remote image in email set!!!!!
Attachment #93331 -
Flags: needs-work+
Comment 11•22 years ago
|
||
Comment on attachment 93331 [details] [diff] [review]
Proposed fix, v1
r=varada; We are getting rid of that code when location already has value of
content-location header. Regarding the second part displaying content-type
unknown/unknown would open a security hole and that is good reason for not
doing it even if Netscape Messenger or OE does it.
Attachment #93331 -
Flags: review+
Comment 12•22 years ago
|
||
so we're dropping support for content_location, is that it? in the sample
messages, it looks like the content location is just the file name, and not the
actual location...is that really what content_location is supposed to be?
Assignee | ||
Comment 13•22 years ago
|
||
no, the patch made Mozilla support content-location when no content-id are
specified. The old code that was there for that was bogus, removing it made that
feature works again. We have other code about content-location that I haven't
removed or touched as it was working fine.
Status: NEW → ASSIGNED
Comment 14•22 years ago
|
||
Comment on attachment 93331 [details] [diff] [review]
Proposed fix, v1
ok, thx, that was the missing piece of info. sr=bienvenu
Attachment #93331 -
Flags: superreview+
Assignee | ||
Comment 15•22 years ago
|
||
Fix checked in the trunk
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.2alpha
Comment 16•22 years ago
|
||
The first sample message was an e-weather forcast sent to an email account from
WeatherOffice "WeatherOffice@ec.gc.ca". The sample attached to this bug doesn't
show the images so I set up an account to receive these forcasts. The forcasts
come in and the images are displayed with trunk build 20021118 on linux, macosx
and winxp. The fix for this bug fixed the 1st sample message
(content-location), but the 2nd sample message (content type unknown ) will not
be fixed. Verified fixed in trunk only.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•