Closed Bug 151169 Opened 22 years ago Closed 22 years ago

file://c|/foobar.doc works in navigation bar but not in <a href="">

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 122022

People

(Reporter: mozilla.jgvons, Assigned: Matti)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530
BuildID:    2002053012

I added a file://c|/foobar.doc url to an html page, but when I click on it in
the Mozilla Navigator, nothing happens. 

the strange thing is that when I right-click "Copy Link Location" and paste in
the navigation toolbar, the file does get opened.


Reproducible: Always
Steps to Reproduce:
1. create a c:/foobar.doc
2. create an html page containing a href with file://c|/foobar.doc
3. open the html page in mozilla and click on the link

Actual Results:  Nothing happened.

Expected Results:  I'd expected to get the open/save dialog for the foobar.doc file.

Sample HTML:

  <html>
  <body>
  <a href="file://c|/foobar.doc">foobar.doc</a>
  </body>
  </html>

I initially ran into this problem with a file://///nas1/users/vons/foobar.doc
URL, but discovered that the same thing happened with file://c|/foobar.doc ; so
it doesn't seem to be related to either network URLs or URLs with a local drive
letter.

Also, this (both file://///nas1/.. and file://c|/..) works fine with both IE6
and NS4.79
Reporter: 
Do you load the html from your HDD or from a web-server ?
I load the file from a web server (it seems to work if I open the html using its
path)
This looks like bug 122022.
Oops, I did search for similar bug reports but must have missed some. It indeed
is a duplicate of 122022.

*** This bug has been marked as a duplicate of 122022 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.