Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLukas Winkler <git@lw1.at>2021-06-04 20:14:41 +0300
committerGitHub <noreply@github.com>2021-06-04 20:14:41 +0300
commit6b091d2f117b14ecc08fcb05b39ed654df4042a8 (patch)
tree137ad000e6fc3fa49c6b3ce605d22aae12184266 /core
parent72a83dedec5d1c86237f6b5a5857f9b448662b8b (diff)
use strict-origin-when-cross-origin Referrer-Policy (#17382)
Diffstat (limited to 'core')
-rw-r--r--core/View.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/View.php b/core/View.php
index 707030b2c3..9429f9e1c7 100644
--- a/core/View.php
+++ b/core/View.php
@@ -296,7 +296,7 @@ class View implements ViewInterface
Common::sendHeader('Referrer-Policy: same-origin');
} else {
// always send explicit default header
- Common::sendHeader('Referrer-Policy: no-referrer-when-downgrade');
+ Common::sendHeader('Referrer-Policy: strict-origin-when-cross-origin');
}
}