Closed
Bug 83898
Opened 23 years ago
Closed 23 years ago
can't access local file without file:///
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
People
(Reporter: hingwah, Assigned: adamlock)
References
Details
Attachments
(1 file)
1.22 KB,
patch
|
Details | Diff | Splinter Review |
build: Mozilla/5.0 (X11; U; Linux 2.4.2-ac20 i686; en-US; rv:0.9.1) I wonder if it is a bug or intended. I find that I can no long such as access file by typing "/foo/bar.html" but must use "file:///foo/bar.html"
Comment 1•23 years ago
|
||
Looks like a fixupURI issue. Over to docshell. http://lxr.mozilla.org/seamonkey/source/docshell/base/nsDefaultURIFixup.cpp#147 looks like it tries to test for leading "/", though... so this should be working.
Assignee: asa → adamlock
Component: Browser-General → Embedding: Docshell
QA Contact: doronr → adamlock
The URI fixup code is creating an nsILocalFile object using NS_NewLocalFile() for the path but it appears the object does not return a file:// URL from calling GetURL. This line appears to explain the reason for that: http://lxr.mozilla.org/seamonkey/source/xpcom/io/nsLocalFileUnix.cpp#1306 Therefore, the proper solution is to implement this method.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•23 years ago
|
||
dup bug 50131 I think *** This bug has been marked as a duplicate of 50131 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
reporter: can you describe the exact steps you want to use as an entry point?
You need to log in
before you can comment on or make changes to this bug.
Description
•