Skip to content

Commit e73a2b0

Browse files
Merge pull request nextcloud#56071 from nextcloud/backport/55829/stable32
[stable32] fix(ocm): probe standardized .well-known endpoint
2 parents 4004756 + ef8f9c2 commit e73a2b0

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)