diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Installer.php | 2 | ||||
-rw-r--r-- | lib/private/Setup.php | 16 | ||||
-rw-r--r-- | lib/private/legacy/defaults.php | 2 |
3 files changed, 2 insertions, 18 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php index be029c2bfd7..e754f28455b 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -542,7 +542,7 @@ class Installer { } catch (TableExistsException $e) { throw new HintException( 'Failed to enable app ' . $app, - 'Please ask for help via one of our <a href="https://nextcloud.com/support/" target="_blank" rel="noreferrer">support channels</a>.', + 'Please ask for help via one of our <a href="https://nextcloud.com/support/" target="_blank" rel="noreferrer noopener">support channels</a>.', 0, $e ); } diff --git a/lib/private/Setup.php b/lib/private/Setup.php index e1863a5814c..8214db2d4ef 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -295,10 +295,6 @@ class Setup { $error[] = $l->t("Can't create or write into the data directory %s", array($dataDir)); } - if (!$this->validateDatabaseHost($options['dbhost'])) { - $error[] = $l->t('Given database host is invalid and must not contain the port: %s', [$options['dbhost']]); - } - if (!empty($error)) { return $error; } @@ -416,18 +412,6 @@ class Setup { return $error; } - /** - * @param string $host - * @return bool - */ - protected function validateDatabaseHost($host) { - if (strpos($host, ':') === false) { - return true; - } - - return filter_var($host, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) !== false; - } - public static function installBackgroundJobs() { $jobList = \OC::$server->getJobList(); $jobList->add(DefaultTokenCleanupJob::class); diff --git a/lib/private/legacy/defaults.php b/lib/private/legacy/defaults.php index 184c820e7c5..8b5cef3643e 100644 --- a/lib/private/legacy/defaults.php +++ b/lib/private/legacy/defaults.php @@ -239,7 +239,7 @@ class OC_Defaults { $footer = $this->theme->getShortFooter(); } else { $footer = '<a href="'. $this->getBaseUrl() . '" target="_blank"' . - ' rel="noreferrer">' .$this->getEntity() . '</a>'. + ' rel="noreferrer noopener">' .$this->getEntity() . '</a>'. ' – ' . $this->getSlogan(); } |