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 サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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.