We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 225cc2e commit e0d48e9Copy full SHA for e0d48e9
apps/settings/lib/Controller/CheckSetupController.php
@@ -621,10 +621,8 @@ protected function getSuggestedOverwriteCliURL(): string {
621
}
622
623
624
- // Check correctness by comparing with suggested URL
625
- // This might lead to false positives though but that is fine since you should access your Nextcloud via the here defined URL either way
626
- // In case of a false positive, simply ignore the suggestion
627
- if ($suggestedOverwriteCliUrl === rtrim($currentOverwriteCliUrl, "/")) {
+ // Check correctness by checking if it is a valid URL
+ if (filter_var($currentOverwriteCliUrl, FILTER_VALIDATE_URL)) {
628
$suggestedOverwriteCliUrl = '';
629
630
0 commit comments