diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-11-27 06:05:39 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-11-27 06:05:39 +0300 |
commit | 9c165f4ce96b96ac0d77d6d86ebf21ca49405f1c (patch) | |
tree | 0b1e579cc8fcb281c9d8279138666dfac69e865a /plugins/Login/Controller.php | |
parent | edae22dc793608cc713ac11baf6cfa5706302c49 (diff) |
Fixes #3147 Add rel="noreferrer" to all outgoing links . This works in Firefox so far and only for "left clicks". Not perfect, but hopefully other browsers will implement this in the future, as it's a useful privacy enhancing feature!
Diffstat (limited to 'plugins/Login/Controller.php')
-rw-r--r-- | plugins/Login/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Login/Controller.php b/plugins/Login/Controller.php index 62c8b40740..ed790ec899 100644 --- a/plugins/Login/Controller.php +++ b/plugins/Login/Controller.php @@ -194,7 +194,7 @@ class Controller extends \Piwik\Plugin\Controller protected function getMessageExceptionNoAccess() { - $message = Piwik::translate('Login_InvalidNonceOrHeadersOrReferrer', array('<a href="?module=Proxy&action=redirect&url=' . urlencode('http://piwik.org/faq/how-to-install/#faq_98') . '" target="_blank">', '</a>')); + $message = Piwik::translate('Login_InvalidNonceOrHeadersOrReferrer', array('<a href="?module=Proxy&action=redirect&url=' . urlencode('http://piwik.org/faq/how-to-install/#faq_98') . '" rel="noreferrer" target="_blank">', '</a>')); // Should mention trusted_hosts or link to FAQ return $message; } |