Merge pull request #50438 from nextcloud/backport/49440/stable31

[stable31] fix(SetupChecks): Pass webfinger if the handler returns 400 too
pull/50344/head
Andy Scherzinger 1 year ago committed by GitHub
commit fcb73d7217
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/settings/lib/SetupChecks/WellKnownUrls.php

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

Loading…
Cancel
Save