Opening file:// URLs does not work if refering page is of type http://

RESOLVED DUPLICATE of bug 84128

Status

()

Core
Networking: File
--
major
RESOLVED DUPLICATE of bug 84128
14 years ago
14 years ago

People

(Reporter: Rune Frøysa, Assigned: Darin Fisher)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826
Build Identifier: v1.1-v1.4a

An aplication at http://127.0.0.1 produces links to files on the local
filesystem.  Left-clicking, midle clicking or "right-click -> open in new
tab/window" does not do anything.  "right-click -> copy link location, paste url
into location bar" works.  This is tested with 1.1, 1.2.1, 1.3, 1.4a.  With 1.1
midle-clicking works.

Everything works fine if one does view-source + cut&paste html into a file and
open the file from a file://... URL

Reproducible: Always

Steps to Reproduce:
See above
Actual Results:  
See above


Trying to work-around by using putting a <base href="file://..."> tag did not
work, it seemd like the <base> tag was ignored.
This is a security precaution to prevent web pages from reading files off your
hard drive....  See discussion in bug 84128

*** This bug has been marked as a duplicate of 84128 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.