From d135fa0387672c10bad70b44867470affe1a3232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Nicole?= Date: Mon, 14 May 2018 11:11:46 +0200 Subject: Fix CalDAV test in Docker + add Calendar and Todo in the database layout Summary: Like the title says. Also removed a "/" that got doubled between the collection URI and the item path, because it made Cyrus freak out (returning unauthorized errors) Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D12755 --- examples/webdavcommon/webdav.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/webdavcommon') diff --git a/examples/webdavcommon/webdav.cpp b/examples/webdavcommon/webdav.cpp index e5f4fab..e13d121 100644 --- a/examples/webdavcommon/webdav.cpp +++ b/examples/webdavcommon/webdav.cpp @@ -295,14 +295,13 @@ KDAV2::DavUrl WebDavSynchronizer::urlOf(const QByteArray &remoteId) auto davurl = serverUrl(); auto url = davurl.url(); url.setPath(remoteId); - SinkLog() << "Returning URL:" << url.toEncoded(); davurl.setUrl(url); return davurl; } KDAV2::DavUrl WebDavSynchronizer::urlOf(const QByteArray &collectionRemoteId, const QString &itemPath) { - return urlOf(collectionRemoteId + "/" + itemPath.toUtf8()); + return urlOf(collectionRemoteId + itemPath.toUtf8()); } bool WebDavSynchronizer::unchanged(const KDAV2::DavCollection &collection) -- cgit v1.2.3