Closed Bug 274196 Opened 20 years ago Closed 20 years ago

on windows implicit links to files on the local filesystem are not understood correctly

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 143021

People

(Reporter: pardus, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Some url's that are understood by internet explorer to link files on the local
file system are not understood by firefox. Examples are 'C:\\bar.html'and
'/bar.html'.

I think this should be fixed because it causes inconsistent behaviour for people
switching from IE to firefox. For example my father has a webpage containing
internal links relative to the webroot of the server ( '/' ) and he wants to
check whether things work before he uploads it to the server; using IE it works
locally as it would online, but using firefox all links are broken and
stylesheets aren't found either :(

Reproducible: Always
Steps to Reproduce:
1. Create C:\\foo.html containing:
   <a href='C:\\bar.html'>C:\\bar.html</a> <a href='/bar.html'>/bar.html</a>
2. check in internet explorer, both cases link to C:\\bar.html
3. check in firefox, both cases fail to link C:\\bar.html

Same thing goes for the linking of stylesheets etc.

Actual Results:  
After clicking 'C:\\bar.html' a error pops up telling me that 'C' is not a
registered protocol; after clicking '/bar.html' nothing happens, which I think
is even worse then an error.

Expected Results:  
In both cases the file file://C:/bar.html should have appeared.

*** This bug has been marked as a duplicate of 269166 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Please notice that my report containes 2 cases; the duplicate is only about one
of them.

Bug 269166 designates the first example as invalid. I won't argue that.

But my second example is a bit different and can't be solved with using the
'file:///' syntax, also there are no security issues there. The point is that
when displaying a file on the local filesystem, the partition the file is on
should be recognised as the ""root"" of the filesystem and identified by '/'.
Please read the example in my original bug report.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Summary: on windows implicite links to files on the local filesystem are not understood correctly → on windows implicit links to files on the local filesystem are not understood correctly
second problem is bug 143021, marking as duplicate

*** This bug has been marked as a duplicate of 143021 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.