Skip to content

Commit d91908b

Browse files
Merge pull request #55829 from nextcloud/fix/ocm-probe-newer-endpoint
fix(ocm): probe standardized .well-known endpoint
2 parents a836c8c + 111fa24 commit d91908b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/files_sharing/lib/External/Storage.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ protected function testRemote(): bool {
238238
try {
239239
return $this->testRemoteUrl($this->getRemote() . '/ocm-provider/index.php')
240240
|| $this->testRemoteUrl($this->getRemote() . '/ocm-provider/')
241+
|| $this->testRemoteUrl($this->getRemote() . '/.well-known/ocm')
241242
|| $this->testRemoteUrl($this->getRemote() . '/status.php');
242243
} catch (\Exception $e) {
243244
return false;

0 commit comments

Comments
 (0)