Closed Bug 462155 Opened 16 years ago Closed 14 years ago

no punycode encoded domain in window.location.host and flash-host

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: j, Unassigned)

References

()

Details

(Whiteboard: [CLOSEME 2010-11-01])

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3

When I go to a site with an IDN-domainname as http://www.arsnavigandi-münchen.de (mind the 2 dots on the u) and I check the value of window.location.host in javascript or the host in flash-player I see "www.arsnavigandi-münchen.de" instead of "www.xn--arsnavigandi-mnchen-jbc.de". All other browsers I have tested so far encode the domainname with punycode. 

Reproducible: Always

Steps to Reproduce:
1. go to the site: http://www.arsnavigandi-münchen.de
2. watch the output of javascript an flash
Actual Results:  
www.arsnavigandi-münchen.de is displayed

Expected Results:  
www.xn--arsnavigandi-mnchen-jbc.de should be displayed
Update: The real issue is that flash-player tries to load any asset as a video from the address http://www.arsnavigandi-m%FCnchen.de insted of the IDN-encoded URL.
This is a mass search for bugs which are in the Firefox General component, are
UNCO, have not been changed for 500 days and have an unspecified version. 

Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
Bug still exists
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0
Confirmed for:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0

Another example:
http://www.bäume-für-deutschland.de/
location.host is "www.bäume-für-deutschland.de" instead of "www.xn--bume-fr-deutschland-gwb32c.de".

Flashplayer fails to load clips from this domain.
Confirmed for:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0

example: http://gästehaus-kapellen-drusweiler.de/
window.location.host: gästehaus-kapellen-drusweiler.de

clip loaded in flash reports url: http://gästehaus-kapellen-drusweiler.de/path-to-swf/container.swf
The mistake in the URL is true. It appears that the a-umlaut is incorrectly encoded; perhaps the host name should be in punycode.
This is still an issue. We discovered this due to the newly introduced usage of window.location.host in Moodle. See https://tracker.moodle.org/browse/MDL-57092.
The problem with punycode still exists! Some WordPress plugins wont run on our site (https://bluetooth-kopfhörer-test.com/) because of this issue... One example is the plugin "heatmap", which wont work with Firefox but works perfeclty fine with other browsers. Can anyone tell when the bug will be fixed? I see that this was mentioned 9 years (!) ago for the first time.
You need to log in before you can comment on or make changes to this bug.