Closed Bug 141835 Opened 22 years ago Closed 22 years ago

image/jpg attachments open in the mail window instead of a new browser window

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: mscott, Assigned: mscott)

References

()

Details

(Whiteboard: [adt2 RTM])

Attachments

(1 file)

Stephen has a message containing a url which refers to a jpg. The server gives a
content type of:

image/jpg
instead of the standard: image/jpeg. 

If you try to click on this link in a message pane or open it as an attachment,
we load the attachment in the message pane instead of in a browser window. This
is because the browser window is registered as a content handler for image/jpeg
but NOT for image/jpg. 

Simple change to make that work.
accepting.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Comment on attachment 82092 [details] [diff] [review]
the fix, register image/jpg

r=naving, that was fast!
Attachment #82092 - Flags: review+
Comment on attachment 82092 [details] [diff] [review]
the fix, register image/jpg

sr=sspitzer
Attachment #82092 - Flags: superreview+
fix checked in. Stephend already has a test case that demonstrates this problem. 
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
this should have been nominated.
Keywords: adt1.0.0, nsbeta1
guyatri/esther - who should verify this fix on the trunk?
Whiteboard: [adt2 RTM]
QA Contact: paw → esther
Stephen, 
please verify this on the trunk.Thanks.
QA Contact: esther → stephend
My testcase is simple - 

1. Load http://10.169.103.61/scripts/nph-cookie_with_jpg.pl in the browser
2. File | Send Page to self.
3. Read the message.
4. Click on the url in the message.

On all trunk builds (2002-6-17-08), this resulted in the image loading in the
browser window (either the existing one, or if none existed, it opened a new
window).

Verified FIXED on the trunk with Mac OS X 10.1.5, Windows 2000, RedHat 7.3 Linux.
Status: RESOLVED → VERIFIED
OS: Windows 2000 → All
Hardware: PC → All
Adding adt1.0.1+ on behalf of the adt for checkin to the 1.0 branch.  Please get
drivers approval before checking in.
Keywords: adt1.0.1adt1.0.1+
Keywords: mozilla1.0.1
please checkin to the 1.0.1 branch. once there, remove the "mozilla1.0.1+"
keyword and add the "fixed1.0.1" keyword.
Comment on attachment 82092 [details] [diff] [review]
the fix, register image/jpg

as per jud
Attachment #82092 - Flags: approval+
fixed on the 1.0.1 branch
This is fixed with all branch 1.0 builds from 6/25/2002 on:

Mac OS X 10.1.5
Mac OS 9.2.2
Windows 2000
Linux RedHat 7.3
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: