Closed Bug 304449 Opened 19 years ago Closed 19 years ago

firefox does not open local files containing german umlaut / and no external resources, eg img containing relative paths

Categories

(Firefox :: File Handling, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 263570

People

(Reporter: lars, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

If you have a local *.htm* stored in a folder containing Umlaut

(e.g.: C:\Documents and Settings\Lars Schöning\Desktop\index.htm )

it wont Open unless the registry is tweaked 

(HCR/FirefoxHTML/shell/open/command to append "file://" in the -url ("-url
"file://%1"")

Even in that case no stylesheet,image or other external resource containing a
relative path will be opened.

for example <img src="./image.png" alt=""/> will not be displayed, 
while:

<img src="C:\Documents and Settings\Lars Schöning\Desktop\template\image.png"
alt=""/>

Will be displayed.

This can be solved by further modifing the url.: If you "open" the htm after the
registry tweak,the addressbar might display something like this:

file:///C:%5CDocuments%20and%20Settings%5CLars%20Sch%F6ning%5CDesktop%5Ctemplate%5Cindex.htm

If you replace all %5C with slashes (NOT backslashes)

file:///C:/Documents%20and%20Settings/Lars%20Sch%F6ning/Desktop/template/index.htm

The page will be displayed and loaded perfectly, including any external files.

Ps.: I found out that the Backslash problem even occoured with urls
not-containing umlaut, therefore firefox might not open any local urls on
Windows unless backslashes are replaced with normal slashes.

I personally think this is a large problem as the function of opening local
files becomes unworthy through this bug.

Please excuse my horrible english/explanation of this bug

Reproducible: Always

Steps to Reproduce:
1. Create any folder containing an umlaut in its name (like öäü, probably other
symbols will work)
2. insert any htm*-file in that folder
3. double click/ or rightclick -> open with firefox
   The page will

Actual Results:  
An alert will be displayed that this url does not exist.

Expected Results:  
Displayed the page opened.

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