From b432ea29c9d99a386077c738d6e29d4bc093c15f Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 4 Feb 2015 16:25:37 +0100 Subject: [PATCH] Add `rel="noreferrer"` where possible and switch to HTTPS Just to follow good practise and prevent some automated scanners to complain about "Cross-domain Referer leakage". --- core/templates/layout.base.php | 2 +- core/templates/layout.guest.php | 2 +- core/templates/layout.user.php | 2 +- settings/templates/admin.php | 2 +- settings/templates/help.php | 8 ++++---- settings/templates/personal.php | 8 ++++---- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index 96229fd370a..768a965599b 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.php @@ -24,7 +24,7 @@ - + diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index c799205b7cf..19b89e47e5e 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -25,7 +25,7 @@ - +
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 4ffec917c9b..34fad7e6cd2 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -32,7 +32,7 @@ - +
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 65c6359e509..55887b0df46 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -517,7 +517,7 @@ if ($_['suggestedOverwriteCliUrl']) { getTitle()); ?>

- t('Developed by the ownCloud community, the source code is licensed under the AGPL.')); ?> + t('Developed by the ownCloud community, the source code is licensed under the AGPL.')); ?>

diff --git a/settings/templates/help.php b/settings/templates/help.php index 403dde30dae..f559329c6bb 100644 --- a/settings/templates/help.php +++ b/settings/templates/help.php @@ -16,12 +16,12 @@
  • - + t( 'Online Documentation' )); ?> ↗
  • - + t( 'Forum' )); ?> ↗
  • @@ -29,14 +29,14 @@
  • + target="_blank" rel="noreferrer"> t( 'Bugtracker' )); ?> ↗
  • - + t( 'Commercial Support' )); ?> ↗
  • diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 3bd5971f44e..d6bc1d2bb5c 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -40,10 +40,10 @@

    t('If you want to support the project join development + target="_blank" rel="noreferrer">join development or spread the word!'));?> + target="_blank" rel="noreferrer">spread the word!'));?>

    @@ -181,7 +181,7 @@ if($_['passwordChangeSupported']) { + target="_blank" rel="noreferrer"> t('Help translate'));?> @@ -287,7 +287,7 @@ if($_['passwordChangeSupported']) {

    t('Version'));?>

    getTitle()); ?>
    - t('Developed by the ownCloud community, the source code is licensed under the AGPL.')); ?> + t('Developed by the ownCloud community, the source code is licensed under the AGPL.')); ?>