Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

why the URL(Chinese Characters in the Domain Name) in the address bar was changed into Punycode after page was loaded?

  • 2 回覆
  • 5 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

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.

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.

所有回覆 (2)

more options

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.

more options

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.