diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-23 09:14:54 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-23 09:14:54 +0100 |
commit | 61c5717281eddd806926c30f4f3c5c83774b341f (patch) | |
tree | a9aa9483fce471ab55d295a2b59f845933aa05ad /apps/files_sharing | |
parent | a25872e0349c3c93a5dea6ce0050f3db207c8dce (diff) | |
parent | 6ad957906e26b181e597abc25eeed0acebd43482 (diff) | |
download | nextcloud-server-61c5717281eddd806926c30f4f3c5c83774b341f.tar.gz nextcloud-server-61c5717281eddd806926c30f4f3c5c83774b341f.zip |
Merge pull request #23463 from owncloud/lets-consistently-use-no-referer
Consistently use rel=noreferrer
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/templates/settings-admin.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/templates/settings-personal.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/templates/settings-admin.php b/apps/files_sharing/templates/settings-admin.php index 31bfa78e67d..64b6b8e72a3 100644 --- a/apps/files_sharing/templates/settings-admin.php +++ b/apps/files_sharing/templates/settings-admin.php @@ -4,7 +4,7 @@ ?> <div id="fileSharingSettings"> <h3><?php p($l->t('Federated Cloud Sharing'));?></h3> - <a target="_blank" class="icon-info svg" + <a target="_blank" rel="noreferrer" class="icon-info svg" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-sharing-federated')); ?>"></a> diff --git a/apps/files_sharing/templates/settings-personal.php b/apps/files_sharing/templates/settings-personal.php index c318943712f..ea9aae038a7 100644 --- a/apps/files_sharing/templates/settings-personal.php +++ b/apps/files_sharing/templates/settings-personal.php @@ -53,7 +53,7 @@ if ($_['showShareIT']) { <div class="hidden" id="oca-files-sharing-add-to-your-website-expanded"> <p style="margin: 10px 0"> - <a target="_blank" href="<?php p($_['reference']); ?>" + <a target="_blank" rel="noreferrer" href="<?php p($_['reference']); ?>" style="padding:10px;background-color:#1d2d44;color:#fff;border-radius:3px;padding-left:4px;"> <img src="<?php p($_['owncloud_logo_path']); ?>" style="width:50px;position:relative;top:8px;"> @@ -63,7 +63,7 @@ if ($_['showShareIT']) { <p> <?php p($l->t('HTML Code:')); ?> - <xmp><a target="_blank" href="<?php p($_['reference']); ?>" + <xmp><a target="_blank" rel="noreferrer" href="<?php p($_['reference']); ?>" style="padding:10px;background-color:#1d2d44;color:#fff;border-radius:3px;padding-left:4px;"> <img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL($_['owncloud_logo_path'])); ?>" style="width:50px;position:relative;top:8px;"> |