Closed Bug 286116 Opened 20 years ago Closed 20 years ago

local html file in directory with extended characters will not launch in browser if browser open

Categories

(Firefox :: Shell Integration, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 263570

People

(Reporter: mjboyers, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

Ran into a problem where on windows XP SP2 (note on linux a similar problem
occurs with extended characters in folder name) where if I try to launch a URL
programatically that is of the form

file://C:\aaÂÂÙ\index.html

with a firefox browser as the default browser AND the firefox browser is already
open, will not open the file, and Rather will pop a dialog box with a mangled
URL of file /c:/aa%C2%C2%D9/index.html

In particular I'm launching using Java and the following routine (howerver I bet
I can make this happen, launching using Win32 routines as well). 

org.eclipse.swt.program.Program.launch(urlStr);

Below I show what happens for Firefox 1.0.1, Netscape 7.2 and IE 6.x


If firefox browser running this fails to load

Passed in URL string is:  file://C:\aaÂÂÙ\index.html
Firefox pops message of "file /c:/aa%C2%C2%D9/index.html can't be loaded"

If firefox is not loaded (not running)
Passed in URL string is: file://C:\aaÂÂÙ\index.html
browser loaded with URL shown as file:///C:/aa%C2%C2%D9/index.html


netscape loaded
Passed in URL string is: file://C:\aaÂÂÙ\index.html
browser loaded with URL shown as file:///C:/aa%C2%C2%D9/index.html

netscape not loaded
Passed in URL string is: file://C:\aaÂÂÙ\index.html
browser loaded with URL shown as file:///C:/aa%C2%C2%D9/index.html


IE loaded
Passed in URL string is: file://C:\aaÂÂÙ\index.html
browser loaded with URL shown as C:\aaÂÂÙ\index.html

IE not loaded
Passed in URL string is: file://C:\aaÂÂÙ\index.html
browser loaded with URL shown as C:\aaÂÂÙ\index.html



Reproducible: Always

Steps to Reproduce:
1.follow the instructions in the details section
2.
3.

Actual Results:  
Browser will not load page and pops message that it can't load 
file /c:/aa%C2%C2%D9/index.htm

which is a mangled URL. 

Expected Results:  
it should have calculated the URL correctly such as 
       file:///C:/aa%C2%C2%D9/index.html
and loaded the file into the browser
should be a dupe of bug 263570

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