1
0

i am beginning to really hate referers

This commit is contained in:
Roman-Nopantski 2017-03-09 00:48:28 +13:00 committed by GitHub
parent bb1e02220c
commit b27811b0f9

View File

@ -684,8 +684,8 @@ user_pref("network.http.referer.trimmingPolicy", 0);
* [NOTE] 1 = less breakage, possible leakage 2 = less leakage, more breakage ***/ * [NOTE] 1 = less breakage, possible leakage 2 = less leakage, more breakage ***/
user_pref("network.http.referer.XOriginPolicy", 1); user_pref("network.http.referer.XOriginPolicy", 1);
/* 1604: CROSS ORIGIN: control the amount of information to send (FF52+) /* 1604: CROSS ORIGIN: control the amount of information to send (FF52+)
* 0=send full URI 1=scheme+host+path+port 2=scheme+host+port ***/ * 0=send full URI (default) 1=scheme+host+path+port 2=scheme+host+port ***/
user_pref("network.http.referer.XOriginTrimmingPolicy", 2); user_pref("network.http.referer.XOriginTrimmingPolicy", 0);
/* 1605: ALL: disable spoofing a referer /* 1605: ALL: disable spoofing a referer
* Spoofing increases your exposure to cross-site request forgeries ***/ * Spoofing increases your exposure to cross-site request forgeries ***/
user_pref("network.http.referer.spoofSource", false); user_pref("network.http.referer.spoofSource", false);