Skip to content

Commit

Permalink
Drop referrer policy as it is implemented in HTTP headers
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 authored Nov 15, 2024
1 parent e17b998 commit 7383c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
'style-src' => ['\'self\'',],
'object-src' => ['\'none\''],
];
$wgReferrerPolicy = 'strict-origin-when-cross-origin';
// $wgReferrerPolicy = 'strict-origin-when-cross-origin'; // Enforced through HTTP header
// Cookies for me and not for thee
$wgCookieSameSite = 'Strict';
// Only send cookies over HTTPS
Expand Down

0 comments on commit 7383c49

Please sign in to comment.