From 74e47da883dcc14980c63268e58d27c2f1c7e5ac Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 29 Feb 2016 21:48:23 +0100 Subject: Add missing trailing slash --- apps/files_sharing/lib/controllers/externalsharescontroller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/files_sharing/lib/controllers') diff --git a/apps/files_sharing/lib/controllers/externalsharescontroller.php b/apps/files_sharing/lib/controllers/externalsharescontroller.php index 4b921f6fae8..be65a490393 100644 --- a/apps/files_sharing/lib/controllers/externalsharescontroller.php +++ b/apps/files_sharing/lib/controllers/externalsharescontroller.php @@ -130,13 +130,13 @@ class ExternalSharesController extends Controller { */ public function testRemote($remote) { if ( - $this->testUrl('https://' . $remote . '/ocs-provider') || + $this->testUrl('https://' . $remote . '/ocs-provider/') || $this->testUrl('https://' . $remote . '/ocs-provider/index.php') || $this->testUrl('https://' . $remote . '/status.php', true) ) { return new DataResponse('https'); } elseif ( - $this->testUrl('http://' . $remote . '/ocs-provider') || + $this->testUrl('http://' . $remote . '/ocs-provider/') || $this->testUrl('http://' . $remote . '/ocs-provider/index.php') || $this->testUrl('http://' . $remote . '/status.php', true) ) { -- cgit v1.2.3