We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜尋 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.