Closed Bug 212467 Opened 21 years ago Closed 21 years ago

Open a filelink ( file:///// ) on a website doesen't work.

Categories

(Core :: Networking: File, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 122022

People

(Reporter: patrick.steiner, Assigned: darin.moz)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312

When i have a website with a linke to a Windows share like this:
file://///10.0.0.2/mp3/ i cant open by click with the mouse on this link. But
when i copy this shorcut to the locationbar then it shows the files in this
share in the browser window. I have tested this with different numbers of slashs
in the link but it doesent resolve the Problem. With the MS Internet Explorer
work this link very well.

Reproducible: Always

Steps to Reproduce:
1.Make a website with the following html tag:
<a href="file://///10.0.0.2/mp3/">MP3</a>
2.Then open this htmlfile in the browser and try to open the link. It doesen't work.
3.Copy the link in the locationbar and press enter. The Browser open the Windows
share and show any file in this share.



Expected Results:  
Open the file list after click on the shortcut on the website
Mozilla doesn't load any file-urls from a http-url, for security-reasons. You
should see a security warning in Tools/Web Development/Javascript Console :

The link to file://///10.0.0.2/mp3/ was blocked by the security manager. Remote
content may not link to local content.

It should work if you save the html on your HDD (file:// urls called from a
file:// url are working).

*** This bug has been marked as a duplicate of 122022 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
v 

please read the release notes before you file a bug - Thanks
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.