why the URL(Chinese Characters in the Domain Name) in the address bar was changed into Punycode after page was loaded?
Hi,
I registered a domain name (http://夜市網.net) which included Chinese Characters. After I input the Domain name and the browser's Address Bar changed it into the Punycode http://xn--essw7il97a.net/
However, some Domain name can keep the original form such as the http://中文.tw
I like the Address Bar can keep the original form of the URL and don't know how to solve the problem.
Thanks for your attention and help in advance.
Kaikki vastaukset (2)
This is a security measure, as some characters outside ASCII can look identical to others characters and therefore be used in phishing attempts. The encoding ensures this will not work (I could pretend to be google.com, but for that security measure!).
If some domain names are keeping their original form and not being converted, I recommend looking for similar bugs on the Mozilla Bugzilla and, if it does not already exist, adding a new security bug to report that issue.
Only TDLs that are whitelisted show the url in real text. The .net TLD is not whitelisted and thus will always show as puny code. Mozilla has a very strict policy about accepting a TLD and it is not likely that .NET will ever be accepted.
See http://www.mozilla.org/projects/security/tld-idn-policy-list.html
See http://kb.mozillazine.org/network.IDN.whitelist.*
You would need to create a new Boolean pref network.IDN.whitelist.net and set the value to true to see the real name.