mirror of
https://github.com/nextcloud/server.git
synced 2026-04-09 02:56:28 -04:00
Merge pull request #55829 from nextcloud/fix/ocm-probe-newer-endpoint
fix(ocm): probe standardized .well-known endpoint
This commit is contained in:
commit
d91908bb96
1 changed files with 1 additions and 0 deletions
1
apps/files_sharing/lib/External/Storage.php
vendored
1
apps/files_sharing/lib/External/Storage.php
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue