зеркало из https://github.com/mozilla/gecko-dev.git
Bug 301694 Create IDN blacklist that include 'DIVISION SLASH'(U+2215) and 'FRACTION SLASH'(U+2044) r=gerv, sr=darin, a=benjamin
This commit is contained in:
Родитель
10d1c576d9
Коммит
adedd6a499
|
@ -590,6 +590,15 @@ pref("network.IDN.whitelist.tw", true);
|
|||
pref("network.IDN.whitelist.info", true);
|
||||
pref("network.IDN.whitelist.museum", true);
|
||||
|
||||
// If a domain includes any of the following characters, it may be a spoof
|
||||
// attempt and so we always display the domain name as punycode. This would
|
||||
// override the settings "network.IDN_show_punycode" and
|
||||
// "netword.IDN.whitelist.*".
|
||||
// The list currently contains the characters:
|
||||
// U+2044 FRACTION SLASH
|
||||
// U+2215 DIVISION SLASH
|
||||
pref("network.IDN.blacklist_chars", "⁄∕");
|
||||
|
||||
// This preference specifies a list of domains for which DNS lookups will be
|
||||
// IPv4 only. Works around broken DNS servers which can't handle IPv6 lookups
|
||||
// and/or allows the user to disable IPv6 on a per-domain basis. See bug 68796.
|
||||
|
|
Загрузка…
Ссылка в новой задаче