Bug 1399939 - switch to highly restrictive profile for IDN, r?jfkthame,dveditz draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 28 Sep 2017 12:00:22 +0100
changeset 671886 39a8fe5e023f298621cc29a70c93998c76f77be4
parent 671566 e1f660fc493bc4bf2f91b6df94bc98e8e3840c42
child 733650 18960d27724a0ab5a1f1b3e0b0d57bae68331acb
push id82080
push userbmo:gijskruitbosch+bugs@gmail.com
push dateThu, 28 Sep 2017 13:39:58 +0000
reviewersjfkthame, dveditz
bugs1399939
milestone58.0a1
Bug 1399939 - switch to highly restrictive profile for IDN, r?jfkthame,dveditz MozReview-Commit-ID: E5LRuQVfIZP
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1913,26 +1913,26 @@ pref("network.jar.block-remote-files", t
 // generate them from punycode.
 pref("network.IDN_show_punycode", false);
 
 // If "network.IDN.use_whitelist" is set to true, TLDs with
 // "network.IDN.whitelist.tld" explicitly set to true are treated as
 // IDN-safe. Otherwise, they're treated as unsafe and punycode will be used
 // for displaying them in the UI (e.g. URL bar), unless they conform to one of
 // the profiles specified in
-// http://www.unicode.org/reports/tr36/proposed.html#Security_Levels_and_Alerts
+// https://www.unicode.org/reports/tr39/#Restriction_Level_Detection
 // If "network.IDN.restriction_profile" is "high", the Highly Restrictive
 // profile is used.
 // If "network.IDN.restriction_profile" is "moderate", the Moderately
 // Restrictive profile is used.
 // In all other cases, the ASCII-Only profile is used.
 // Note that these preferences are referred to ONLY when
 // "network.IDN_show_punycode" is false. In other words, all IDNs will be shown
 // in punycode if "network.IDN_show_punycode" is true.
-pref("network.IDN.restriction_profile", "moderate");
+pref("network.IDN.restriction_profile", "high");
 pref("network.IDN.use_whitelist", false);
 
 // ccTLDs
 pref("network.IDN.whitelist.ac", true);
 pref("network.IDN.whitelist.ar", true);
 pref("network.IDN.whitelist.at", true);
 pref("network.IDN.whitelist.br", true);
 pref("network.IDN.whitelist.ca", true);