diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2019-08-13 23:38:59 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2019-08-13 23:38:59 +0300 |
commit | f71a9f23b80bdcf93b0b5762b405888b083277ed (patch) | |
tree | 034c787015de6e477b1c979e7e53f9d4a8433440 /plugins/Overlay | |
parent | 3196206e327f6d3c341686575a741626a8719b97 (diff) |
Allow disabling referrer-policy header and use in startOverlaySession since that is how overlay is dets detected in piwik.js. (#14766)
Diffstat (limited to 'plugins/Overlay')
-rw-r--r-- | plugins/Overlay/Controller.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Overlay/Controller.php b/plugins/Overlay/Controller.php index 6708196521..98ff9937d5 100644 --- a/plugins/Overlay/Controller.php +++ b/plugins/Overlay/Controller.php @@ -177,6 +177,7 @@ class Controller extends \Piwik\Plugin\Controller $view->mainUrl = $site['main_url']; $this->outputCORSHeaders(); + $view->setUseStrictReferrerPolicy(false); Common::sendHeader('Content-Type: text/html; charset=UTF-8'); return $view->render(); |