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
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2020-02-27 06:54:26 +0300
committerGitHub <noreply@github.com>2020-02-27 06:54:26 +0300
commit407cd57e2106e8296333f65b55c5f205d5e66e29 (patch)
treeaef5eb28688d88f8d65b7a9d292d7acc7c4ca41d
parent2ffc440fef6c123ac335e6a8af1f144686a023bd (diff)
Do not set strict referrer policy to ensure overlay worksissue_14764
fix https://github.com/matomo-org/matomo/issues/14764
-rw-r--r--plugins/Overlay/Controller.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Overlay/Controller.php b/plugins/Overlay/Controller.php
index d7d42fa48e..3d0bce8ffd 100644
--- a/plugins/Overlay/Controller.php
+++ b/plugins/Overlay/Controller.php
@@ -63,6 +63,7 @@ class Controller extends \Piwik\Plugin\Controller
$view->ssl = ProxyHttp::isHttps();
$view->siteUrls = SitesManager\API::getInstance()->getSiteUrlsFromId($this->site->getId());
+ $view->setUseStrictReferrerPolicy(false);
$this->outputCORSHeaders();
return $view->render();
}
@@ -160,6 +161,7 @@ class Controller extends \Piwik\Plugin\Controller
$view->segment = $segmentSidebar;
$view->segmentDescription = $this->segmentFormatter->getHumanReadable($segment, $this->idSite);
+ $view->setUseStrictReferrerPolicy(false);
$this->outputCORSHeaders();
return $view->render();
}