diff options
author | Björn Schießle <bjoern@schiessle.org> | 2016-01-11 16:28:54 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-12 14:24:47 +0100 |
commit | fa561071d26ed0d28e90fddd01ea17c200ba17ed (patch) | |
tree | d5119b019934f6010b951a8563cf29dcf17541e0 /apps/dav/lib/carddav | |
parent | 94856cb892bba5b123c3f7e9ebeb042c960f72dd (diff) | |
download | nextcloud-server-fa561071d26ed0d28e90fddd01ea17c200ba17ed.tar.gz nextcloud-server-fa561071d26ed0d28e90fddd01ea17c200ba17ed.zip |
create urls in a way that sabredav handles it correctly
Diffstat (limited to 'apps/dav/lib/carddav')
-rw-r--r-- | apps/dav/lib/carddav/syncservice.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/carddav/syncservice.php b/apps/dav/lib/carddav/syncservice.php index b8dfcfdbc5e..148ba4b9081 100644 --- a/apps/dav/lib/carddav/syncservice.php +++ b/apps/dav/lib/carddav/syncservice.php @@ -99,14 +99,14 @@ class SyncService { */ protected function requestSyncReport($url, $userName, $sharedSecret, $syncToken) { $settings = [ - 'baseUri' => $url, + 'baseUri' => $url . '/', 'userName' => $userName, 'password' => $sharedSecret, ]; $client = new Client($settings); $client->setThrowExceptions(true); - $addressBookUrl = "/remote.php/dav/addressbooks/system/system/system"; + $addressBookUrl = "remote.php/dav/addressbooks/system/system/system"; $body = $this->buildSyncCollectionRequestBody($syncToken); $response = $client->request('REPORT', $addressBookUrl, $body, [ |