Closed Bug 263916 Opened 20 years ago Closed 20 years ago

Click a link to a local html file doesn't load file

Categories

(Firefox :: File Handling, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: dave1, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Firefox 1.0 Gecko/20041001 Firefox/0.10.1 (downloaded yesterday)

My home page is file:///E:%5Cmydata%5CWINDOWS%5CMAIN.HTM
and it contains an anchor  <A HREF="info.htm">Sources of general info</A>
referring to a local file in the same directory as the parent.

Clicking on this link causes Firefox to try to access file:///info.htm, which I
am guessing is an ambiguous reference because the disk is missing?  Or ???   But
 it does not load the referenced page.

I need this to work correctly, as it does in IE and Netscape.  Any idea when it
might get fixed?   Please reply to dave1@wcf.com  

Reproducible: Always
Steps to Reproduce:
1.   Make an html file that links to another file in the same directory
2.   Follow the link (click on it)
3.   Nothing happens (FILE:///fn.ft is displayed at the bottom of screen)

Actual Results:  
Nothing

Expected Results:  
Displayed linked page
<a href="info.htm"> should bring you to the file info.htm in the current
directory. I'm guessing we don't recognize %5C (escaped backslash) as a
directory thing, so it looks like the current directory is just file:///

As a workaround you might want to try using forward slashes instead of escaped
backslashes.
%5C expands to "\". But you want to have a file:// URI like (for example)
file:///C:/Program%20Files/Adobe/Photoshop%207.0/Help/Help.html .

Therefore you need to have "/". Marking this as invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.