Skip to content

Commit fcb73d7

Browse files
Merge pull request #50438 from nextcloud/backport/49440/stable31
[stable31] fix(SetupChecks): Pass webfinger if the handler returns 400 too
2 parents 1124eaa + 92c603b commit fcb73d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/settings/lib/SetupChecks/WellKnownUrls.php

Lines changed: 1 addition & 1 deletion
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)