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

[stable30] fix(SetupChecks): Pass webfinger if the handler returns 400 too
This commit is contained in:
Andy Scherzinger 2025-01-26 17:58:32 +01:00 committed by GitHub
commit ebcdf9f5aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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],