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:
authormattab <matthieu.aubry@gmail.com>2014-11-27 06:05:39 +0300
committermattab <matthieu.aubry@gmail.com>2014-11-27 06:05:39 +0300
commit9c165f4ce96b96ac0d77d6d86ebf21ca49405f1c (patch)
tree0b1e579cc8fcb281c9d8279138666dfac69e865a /plugins/Installation/FormSuperUser.php
parentedae22dc793608cc713ac11baf6cfa5706302c49 (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/Installation/FormSuperUser.php')
-rw-r--r--plugins/Installation/FormSuperUser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Installation/FormSuperUser.php b/plugins/Installation/FormSuperUser.php
index aef40d6a40..87adc47259 100644
--- a/plugins/Installation/FormSuperUser.php
+++ b/plugins/Installation/FormSuperUser.php
@@ -61,7 +61,7 @@ class FormSuperUser extends QuickForm2
$this->addElement('checkbox', 'subscribe_newsletter_piwikpro', null,
array(
'content' => '&nbsp;&nbsp;' . Piwik::translate('Installation_PiwikProNewsletter',
- array("<a href='http://piwik.pro' style='color:#444;' target='_blank'>", "</a>")
+ array("<a href='http://piwik.pro' style='color:#444;' rel='noreferrer' target='_blank'>", "</a>")
),
));