Closed
Bug 142040
Opened 23 years ago
Closed 23 years ago
won't open local file link
Categories
(Core :: Networking: File, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 122022
People
(Reporter: dscottbuch, Assigned: dougt)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.0+)
Gecko/20020501
BuildID: 2002050103
Will not open local files when hyperlinked from local page. The hyperlink is
correctly formatted and the local page works in Omniweb sp77 and IE 5.1. Also
noticed that when opening the file from the 'File>Open File' dialog, which
works, the URL is constructed differently from OW and IE. In OW and IE the URL is
file:///Volumes/Apps/Adobe%20GoLive%206.0/Help/help.html
In Mozilla the URL is
file:///Apps/Adobe%20GoLive%206.0/Help/help.html
There seems to be a problem in the file mapping with OSXs use of the /Volumes
directory.
Reproducible: Always
Steps to Reproduce:
1. click on linked item in page: Nothing happens, no load no activity
2. Use 'Copy Location' and then paste in URL bar : Page Loads but only if URL is
formed without /Volumes. This URL doesn't work in OW or IE.
3.
Actual Results: See Above
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 1•23 years ago
|
||
I do not believe that hyperlinking from a http download page to a local file
will work. It is a security risk. Marking this bug WONTFIX.
Please write up a seperate bug about osx url parsing. i think that there is a
duplicate bug in the system, but I can not find it right now.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Comment 2•23 years ago
|
||
Um... The original report talks about a "local" page, not an http page....
Reporter | ||
Comment 3•23 years ago
|
||
Re: Comment #2, it was a 'local file' but served through the local server so it
was http://. As suggested I have generated a separate bug with the file mapping
issue regarding the use of the /Volumes directory. I can see this could be a
security issue. Its interesting that the other browsers I use have no problems
with linking to local pages from the http:// page.
Is the "http:" at the front of the URL correct?
This is really a dupe of bug 122022.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
The problem with the file URL itself is bug 140606.
*** This bug has been marked as a duplicate of 122022 ***
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 6•23 years ago
|
||
Yep. The http:// in front of the file:// in the description was just a typo.
Thanks,
Please mark this bug VERIFIED if your mozilla created file URL works. Bug 142074
explains why different browsers create different file URLs for the same file.
Keywords: verifyme
Reporter | ||
Comment 8•23 years ago
|
||
As requested the local file URL generated by Mozilla works fine. This is why I
generated the separate bug 142074
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•