Closed
Bug 181943
Opened 22 years ago
Closed 22 years ago
Mozilla doesn't handle Unix file path URLs
Categories
(Core :: Networking: File, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 140606
People
(Reporter: marke, Assigned: dougt)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2b) Gecko/20021016
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2b) Gecko/20021016
The URL
file://localhost/private/tmp/501/Cleanup%20At%20Startup/Release%20Notes2.html
Doesn't work for Mozilla (or Netscape). This is a properly formed file:// URL
and other browsers on OS X handle it correctly (IE, OmniWeb, etc.)
Strangely enough, Chimera does handle it properly.
Mozilla seems to want a bastardized file:// URL which has
a) an extra slash
b) the HFS volume label in place of localhost
c) slashes rather than colons (even though it begins with an HFS volume label)
and looks like this:
file://Jaguar/private/tmp/501/Cleanup%20At%20Startup/Release%20Notes2.html
We've added special-case code to our app (RealOne Player) for handing off URLs
to Mozilla derived browsers, but it would be better if Mozilla handled the more
correct form on OS X.
Reproducible: Always
Steps to Reproduce:
Type a URL to any file on the machine, but use a standard Unix path
Actual Results:
page not found error
Expected Results:
located the file at the specified path
![]() |
||
Comment 1•22 years ago
|
||
networking
Assignee: asa → dougt
Component: Browser-General → Networking
QA Contact: asa → benc
Dup of/related to bug 140606?
Mozilla is currently CFM based, while Chimera is Mach-O. This affects the file
I/O libraries they use, which has an effect on their conception of the
path->file URL conversion.
*** This bug has been marked as a duplicate of 140606 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•