mods to earthlng patch #19

shortened and evened out lines, added that extra link. I changed "Internationalized Domain Names" to IDNs to save space and then realized the kb and wiki articles don;t even say what IDN stands for, so I put it back.

Also swapped the order and wording of the pref to make it consistent with the action. Instead of
- "2672: eliminate possible .. show_punycode", true)"
- "2672: force Punycode .. show_punycode", true)"
This commit is contained in:
Roman-Nopantski 2017-02-22 07:32:52 +13:00 committed by GitHub
parent 4d0e5825a2
commit 069d821413
1 changed files with 7 additions and 5 deletions

12
user.js
View File

@ -1240,13 +1240,15 @@ user_pref("security.block_script_with_wrong_mime", true);
// WARNING: SVG is fairly common (~15% of the top 10K sites), so will cause some breakage
// https://bugzilla.mozilla.org/show_bug.cgi?id=1216893
user_pref("svg.disabled", true);
// 2672: eliminate possible spoofing security risk by forcing Punycode for Internationalized Domain Names - SECURITY
// Firefox has *some* protections to mitigate the risk, but better safe than sorry
// downside: will also display legitimate IDN's punycoded, which might be undesirable for users from countries with non-latin alphabets
// 2672: force Punycode for Internationalized Domain Names to eliminate possible spoofing security risk.
// Firefox has *some* protections to mitigate the risk, but it is better to be safe than sorry.
// The downside: it will also display legitimate IDN's punycoded, which might be undesirable for
// users from countries with non-latin alphabets
// http://kb.mozillazine.org/Network.IDN_show_punycode
// https://wiki.mozilla.org/IDN_Display_Algorithm
// https://en.wikipedia.org/wiki/IDN_homograph_attack
// CVE-2017-5383 -> https://www.mozilla.org/en-US/security/advisories/mfsa2017-02/
user_pref("network.IDN_show_punycode", true); // default in FF51: false
// CVE-2017-5383: https://www.mozilla.org/en-US/security/advisories/mfsa2017-02/
user_pref("network.IDN_show_punycode", true);
/*** 2698: FIRST PARTY ISOLATION (FPI) ***/
// 2698a: enable first party isolation pref and OriginAttribute (FF51+)