Skip to content

Commit fba7ef9

Browse files
Merge pull request #49440 from nextcloud/fix-setupcheck-webfinger-400
fix(SetupChecks): Pass webfinger if the handler returns 400 too
2 parents 6b6401f + b452dc0 commit fba7ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/settings/lib/SetupChecks/WellKnownUrls.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function run(): SetupResult {
4545
}
4646

4747
$urls = [
48-
['get', '/.well-known/webfinger', [200, 404], true],
48+
['get', '/.well-known/webfinger', [200, 400, 404], true], // 400 indicates a handler is installed but (correctly) failed because we didn't specify a resource
4949
['get', '/.well-known/nodeinfo', [200, 404], true],
5050
['propfind', '/.well-known/caldav', [207], false],
5151
['propfind', '/.well-known/carddav', [207], false],

0 commit comments

Comments
 (0)