diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 2 | ||||
-rw-r--r-- | lib/private/config.php | 2 | ||||
-rw-r--r-- | lib/private/util.php | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/base.php b/lib/base.php index 16db8f4dcd2..1a3dbbaa56a 100644 --- a/lib/base.php +++ b/lib/base.php @@ -274,7 +274,7 @@ class OC { $l->t('Cannot write into "config" directory!'), $l->t('This can usually be fixed by ' . '%sgiving the webserver write access to the config directory%s.', - array('<a href="' . $urlGenerator->linkToDocs('admin-dir_permissions') . '" target="_blank">', '</a>')) + array('<a href="' . $urlGenerator->linkToDocs('admin-dir_permissions') . '" target="_blank" rel="noreferrer">', '</a>')) ); } } diff --git a/lib/private/config.php b/lib/private/config.php index 368dafd0460..9bb5c299463 100644 --- a/lib/private/config.php +++ b/lib/private/config.php @@ -239,7 +239,7 @@ class Config { throw new HintException( "Can't write into config directory!", 'This can usually be fixed by ' - .'<a href="' . $url . '" target="_blank">giving the webserver write access to the config directory</a>.'); + .'<a href="' . $url . '" target="_blank" rel="noreferrer">giving the webserver write access to the config directory</a>.'); } // Try to acquire a file lock diff --git a/lib/private/util.php b/lib/private/util.php index 88d78ad83c6..b320394f26d 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -657,7 +657,7 @@ class OC_Util { 'error' => $l->t('Cannot write into "config" directory'), 'hint' => $l->t('This can usually be fixed by ' . '%sgiving the webserver write access to the config directory%s.', - array('<a href="' . $urlGenerator->linkToDocs('admin-dir_permissions') . '" target="_blank">', '</a>')) + array('<a href="' . $urlGenerator->linkToDocs('admin-dir_permissions') . '" target="_blank" rel="noreferrer">', '</a>')) ); } } @@ -673,7 +673,7 @@ class OC_Util { 'hint' => $l->t('This can usually be fixed by ' . '%sgiving the webserver write access to the apps directory%s' . ' or disabling the appstore in the config file.', - array('<a href="' . $urlGenerator->linkToDocs('admin-dir_permissions') . '" target="_blank">', '</a>')) + array('<a href="' . $urlGenerator->linkToDocs('admin-dir_permissions') . '" target="_blank" rel="noreferrer">', '</a>')) ); } } @@ -687,7 +687,7 @@ class OC_Util { $errors[] = array( 'error' => $l->t('Cannot create "data" directory (%s)', array($CONFIG_DATADIRECTORY)), 'hint' => $l->t('This can usually be fixed by ' - . '<a href="%s" target="_blank">giving the webserver write access to the root directory</a>.', + . '<a href="%s" target="_blank" rel="noreferrer">giving the webserver write access to the root directory</a>.', array($urlGenerator->linkToDocs('admin-dir_permissions'))) ); } @@ -695,7 +695,7 @@ class OC_Util { //common hint for all file permissions error messages $permissionsHint = $l->t('Permissions can usually be fixed by ' . '%sgiving the webserver write access to the root directory%s.', - array('<a href="' . $urlGenerator->linkToDocs('admin-dir_permissions') . '" target="_blank">', '</a>')); + array('<a href="' . $urlGenerator->linkToDocs('admin-dir_permissions') . '" target="_blank" rel="noreferrer">', '</a>')); $errors[] = array( 'error' => 'Data directory (' . $CONFIG_DATADIRECTORY . ') not writable by ownCloud', 'hint' => $permissionsHint |