diff --git a/lib/Kolab/DAV/Collection.php b/lib/Kolab/DAV/Collection.php --- a/lib/Kolab/DAV/Collection.php +++ b/lib/Kolab/DAV/Collection.php @@ -213,7 +213,7 @@ throw new \Sabre\DAV\Exception\Forbidden('Hidden files are not accepted'); } - $folder = $this->path . '/' . $name; + $folder = (strlen($this->path) ? $this->path . '/' : '') . $name; try { $this->backend->folder_create($folder);