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

VERIFIED FIXED in mozilla1.0

Status

VERIFIED FIXED
17 years ago
14 years ago

People

(Reporter: mscott, Assigned: mscott)

Tracking

Trunk
mozilla1.0

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [adt2 RTM], URL)

Attachments

(1 attachment)

(Assignee)

Description

17 years ago
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.
(Assignee)

Comment 1

17 years ago
Created attachment 82092 [details] [diff] [review]
the fix, register image/jpg
(Assignee)

Comment 2

17 years ago
accepting.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0

Comment 3

17 years ago
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+
(Assignee)

Comment 5

17 years ago
fix checked in. Stephend already has a test case that demonstrates this problem. 
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
(Assignee)

Comment 6

17 years ago
this should have been nominated.
Keywords: adt1.0.0, nsbeta1

Comment 7

17 years ago
guyatri/esther - who should verify this fix on the trunk?
Keywords: adt1.0.0, nsbeta1 → adt1.0.1, nsbeta1+
Whiteboard: [adt2 RTM]

Updated

17 years ago
QA Contact: paw → esther

Comment 8

17 years ago
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

Comment 10

17 years ago
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.1 → adt1.0.1+

Updated

17 years ago
Keywords: mozilla1.0.1

Comment 11

17 years ago
please checkin to the 1.0.1 branch. once there, remove the "mozilla1.0.1+"
keyword and add the "fixed1.0.1" keyword.
Keywords: mozilla1.0.1 → mozilla1.0.1+
Comment on attachment 82092 [details] [diff] [review]
the fix, register image/jpg

as per jud
Attachment #82092 - Flags: approval+
(Assignee)

Comment 13

17 years ago
fixed on the 1.0.1 branch
Keywords: mozilla1.0.1+ → fixed1.0.1
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
Keywords: fixed1.0.1 → verified1.0.1
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.