Skip to content

Commit

Permalink
Merge pull request #49440 from nextcloud/fix-setupcheck-webfinger-400
Browse files Browse the repository at this point in the history
fix(SetupChecks): Pass webfinger if the handler returns 400 too
  • Loading branch information
AndyScherzinger authored Jan 26, 2025
2 parents 6b6401f + b452dc0 commit fba7ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/settings/lib/SetupChecks/WellKnownUrls.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function run(): SetupResult {
}

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

0 comments on commit fba7ef9

Please sign in to comment.