Closed Bug 355156 Opened 18 years ago Closed 16 years ago

Mixed-direction IDNs display as Punycode.

Categories

(Core :: General, defect)

1.8 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: usenet, Unassigned)

References

()

Details

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.
Product: Firefox → Core
QA Contact: general → general
Version: 1.5.0.x Branch → 1.8 Branch
Depends on: 427957
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
Closed: 16 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
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.