Merge pull request #55829 from nextcloud/fix/ocm-probe-newer-endpoint

fix(ocm): probe standardized .well-known endpoint
This commit is contained in:
Andy Scherzinger 2025-10-28 22:26:28 +01:00 committed by GitHub
commit d91908bb96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -238,6 +238,7 @@ class Storage extends DAV implements ISharedStorage, IDisableEncryptionStorage,
try {
return $this->testRemoteUrl($this->getRemote() . '/ocm-provider/index.php')
|| $this->testRemoteUrl($this->getRemote() . '/ocm-provider/')
|| $this->testRemoteUrl($this->getRemote() . '/.well-known/ocm')
|| $this->testRemoteUrl($this->getRemote() . '/status.php');
} catch (\Exception $e) {
return false;