Skip to content

Commit

Permalink
1605: change to active enforced
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorin-Oakenpants authored Aug 19, 2021
1 parent 00fa8f1 commit 93f6aea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions user.js
Original file line number Diff line number Diff line change
Expand Up @@ -805,10 +805,10 @@ user_pref("network.http.referer.XOriginPolicy", 2);
/* 1604: CROSS ORIGIN: control the amount of information to send [FF52+]
* 0=send full URI (default), 1=scheme+host+port+path, 2=scheme+host+port ***/
user_pref("network.http.referer.XOriginTrimmingPolicy", 2);
/* 1605: ALL: disable spoofing a referer
* [WARNING] Do not set this to true, as spoofing effectively disables the anti-CSRF
* (Cross-Site Request Forgery) protections that some sites may rely on ***/
// user_pref("network.http.referer.spoofSource", false); // [DEFAULT: false]
/* 1605: ALL: enforce no spoofing of referer
* Spoofing effectively disables the anti-CSRF (Cross-Site Request Forgery)
* protections that some sites may rely on ***/
user_pref("network.http.referer.spoofSource", false); // [DEFAULT: false]
/* 1606: ALL: set the default Referrer Policy [FF59+]
* 0=no-referer, 1=same-origin, 2=strict-origin-when-cross-origin, 3=no-referrer-when-downgrade
* [NOTE] This is only a default, it can be overridden by a site-controlled Referrer Policy
Expand Down

0 comments on commit 93f6aea

Please sign in to comment.