Closed
Bug 60640
Opened 25 years ago
Closed 22 years ago
Netscape 6 failed to open document when target is set
Categories
(Core :: Networking, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: davechiu, Assigned: mscott)
Details
Consider the following html:
<html>
<body>
<a href="<some valid Excel/Word document>" target="My Attachment">my
Attachment</a>
<br>
<a href="http://cnn.com" target="My Attachment">cnn.com</a>
</body>
</html>
The second link opens a separate browser with cnn.com loaded (which I think is
correct behavior). However, the first link fails to open the document.
Comment 1•25 years ago
|
||
so, you mean to say that we should open a word document in word when we click on
a word doc link?
Not mozilla's job to execute application files. And you've got the whole
security issue aswell.Better to download, virus check then run the file.
| Reporter | ||
Comment 3•25 years ago
|
||
Here is some more info.
1. If you right click on the link and select "Open Link in a New Window", then
it works fine.
2. If I change it to use JavaScript to do the same thing
(JavaScript:window.open(<attachment url>, 'my attachment')), then it will open a
new browser window (blank) and then the document in Word, but the orginal
browser will show "Object Window" (the orginal page is lost).
The bottom line is Netscape 4.x and IE handle this without problem. And
Netscape 6 can open a Word/Excel document using other methods. If there is a
security problem, then why do Netscape 6 can do that?
Comment 4•25 years ago
|
||
over to networking.
Assignee: asa → gagan
Status: UNCONFIRMED → NEW
Component: Browser-General → Networking
Ever confirmed: true
QA Contact: doronr → tever
This might be fixed now - moz handles downloaded files a lot better than it used
to. Perhaps if someone could create a testcase (I can't upload, unfortunately,
through the college system).
Comment 8•23 years ago
|
||
WFM 2002052306 Win2k
Comment 9•22 years ago
|
||
-> wfm based on Michael Gabriel's comment
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Comment 10•22 years ago
|
||
what does the target thing mean?
are we talking about HTML in a mail message?
You need to log in
before you can comment on or make changes to this bug.
Description
•