Mixed-direction IDNs such as http://עברית.idntest/ display as Punycode in the UI, even when IDN is enabled for the (testing-only) ".idntest" TLD. Other IDNs containing mixed scripts display as intended. Examples: http://日本語.idntest/ http://ελληνικά.idntest/ Mixed-direction IDNs should probably be able to be displayed in their native scripts, unless there are significant unresolved BiDi or security issues related to displaying URLs etc containing mixed scripts in the UI. Note: The special case of the display of domain names right-to-left labels in the TLDs themselves should be considered carefully here, before enabling this.
Component: General → General
Product: Firefox → Core
QA Contact: general → general
Version: 1.5.0.x Branch → 1.8 Branch
Just a thought: while mixed directions between labels in different scripts within single IDNs (as in the above examples) seems reasonable, I think we should still punycode _individual labels_ which contain mixed-direction mixtures of scripts, as contrary to the single-script principle that is part of the general anti-spoofing principles for IDNs.
It seems that the issue raised by my comment #2 is already dealt with by RFC 4690, section 2.2.5. "Bidirectional Text". It might be worth coordinating this at bug 355416.
FIXED by bug 427957
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Sorry for the spam, this is covered by netwerk/test/unit/test_bug427957.js
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.