Closed Bug 203472 Opened 21 years ago Closed 21 years ago

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

Categories

(Core :: Networking: File, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 84128

People

(Reporter: rune.froysa, Assigned: darin.moz)

Details

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
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.