Closed Bug 157623 Opened 23 years ago Closed 22 years ago

Clicking on a JS link in a mail message will open the source in the preview pane.

Categories

(MailNews Core :: Networking, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: sspitzer)

References

()

Details

(Whiteboard: [adt2])

Build ID: 7/15/2002, commercial 1.0 Branch build. I'm not sure this should go into the Security component, but for now... Summary: Clicking on a JS link in a mail message will open the source in the preview pane. Steps to Reproduce: 1. Send yourself a message with a link contained in it such as, 'http://people.netscape.com/stephend/js.html'. 2. Read the message, and click on the link. Expected Results: I would think we'd want to open this in the browser window. Actual Results: We open this in the mail preview pane, (overriding all of the message's other contents, too).
that's weird - I would have thought that would be an html link.
Sorry, this really isn't security. I'm going to stick this in Networking:General, simply because I'm not sure where the content-type stuff lives.
Assignee: mstoltz → mscott
Component: Security: General → Networking: MailNews General
QA Contact: junruh → huang
So.... I can't find where the content listener for them mailwindow actually draws a distinction between content types... it seems to mark all types as not preferred and defers to the docshell for whether it can handle them....
nsbeta1, because I want Buffy to get this right.
Keywords: nsbeta1
QA Contact: huang → esther
Mail triage team: nsbeta1+/adt2
Keywords: nsbeta1nsbeta1+
Whiteboard: [adt2]
-> seth
Assignee: mscott → sspitzer
I think a recent change of mine for bug #199360 might have fixed this. double checking...
Status: NEW → ASSIGNED
ok, before my fix, I get the "open / save / unknown content handler dialog, for type application/x-javascript. after my fix, because that's a http url, we do load it in a browser window, and I see the source for the js in the browser window. either seem ok to me. neither are what stephend described back on 7/15/2002, so something else must have fixed it. but since there is a change to the scenario, do to bug #199360, I'm going to claim victory and mark this fixed. esther / stephend, if it should be wfm, let me know.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Seth / Esther, yup this is fixed in the 2003-04-23-04 trunk WinXP/Windows 2000 builds. Thanks! /me waves to his old Mail team ;-) I'll let Esther do the multi-platform legwork...
Using trunk builds 20030509 on linux and macosx and winxp I sent myself an email with the link in comment #7, opened it and clicked on the link. The link opened in a browser window. Verified.
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.