Closed Bug 110382 Opened 23 years ago Closed 23 years ago

Clicking on file: link in html doesn't do anything

Categories

(Core :: Security, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: nneul, Assigned: attinasi)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5+) Gecko/20011114
BuildID:    2001111408

I have a page of links. One of the links is to a file:/local/path/index.html. I
have that same URL as a bookmark. Clicking on the bookmark immediately opens the
page. Clicking on the link does nothing.

Works fine on NS4.7.x

Reproducible: Always
Steps to Reproduce:
1.Try clicking on the 'local' in web photo album on that html
2.
3.

Actual Results:  Browser acts as if I didn't do anything. Just ignores the
click. Also ignores any attempt to open in new window, etc.

Expected Results:  Should follow the link. If security setting, it should at
least give me a warning saying that following the link was disabled for security.
marking invalid
Mozilla blocks all FILE links in URLs that are not FILE: (http...)
If you open a local file (file:) you can follow local links in that Page

YOu get a warning. Open Task/tools/Javascript Console and you will see this :
The link to file:///users/nneul/album/index.html was blocked by the security
manager.
Remote content may not link to local content.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Component: Layout → Security: General
Resolution: --- → INVALID
Marking Verified INVALID as per above developer comments.
Status: RESOLVED → VERIFIED
*** Bug 166918 has been marked as a duplicate of this bug. ***
*** Bug 246363 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.