Merge pull request #50440 from nextcloud/backport/49440/stable30

[stable30] fix(SetupChecks): Pass webfinger if the handler returns 400 too
pull/50448/head
Andy Scherzinger 2025-01-26 17:58:32 +07:00 committed by GitHub
commit ebcdf9f5aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -44,7 +44,7 @@ class WellKnownUrls implements ISetupCheck {
}
$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],