Closed
Bug 257321
Opened 21 years ago
Closed 21 years ago
firefox assumes file:/// link improperly in any dir or root dir.
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: nx, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
I attempted to link to a file in the root of the disk and it showed differently.
In MSIE, the status bar shows: file:///C:/index.html
Reproducible: Always
Steps to Reproduce:
1. Download the file to any folder
2. Change the .bin extension to .html
2. Open the file in Firefox
3. Click the link OR hover over the link and look in the status bar.
Actual Results:
Nothing happens if you click the link.
The status bar shows: file:///index.html
Expected Results:
it should have assumed that the index.html is in the root dir (i.e.
file:///c:/index.html )
Reporter | ||
Comment 1•21 years ago
|
||
*** Bug 257320 has been marked as a duplicate of this bug. ***
Comment 2•21 years ago
|
||
It does exactly what it is supposed to do, look for index.html relative in the
same folder
->INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
How about resolving a URL path <code>"/path/...."</code> in Windows local as
<code>file:///sameDrive:/path/....</code>
if <code>path</code> doesn't contain a colon character which is forbidden for Windows filenames.
This makes some downloaded pages' life easier:
<blockquote>
<p>it is possible for a single set of hypertext documents to be simultaneously accessible and traversable via each of the "file", "http", and "ftp" schemes if the documents refer to each other with relative references. Furthermore, such document trees can be moved, as a whole, without changing any of the relative references.
</p>
<p>-- rfc3986: URI Generic Syntax, section 1.2.3</p>
</blockquote>
You need to log in
before you can comment on or make changes to this bug.
Description
•