diff --git a/api/src/CalDAV.php b/api/src/CalDAV.php index 5a57a5c17e..1e9a4b10b9 100644 --- a/api/src/CalDAV.php +++ b/api/src/CalDAV.php @@ -1291,7 +1291,8 @@ class CalDAV extends HTTP_WebDAV_Server $propfind_options = array( 'path' => $options['path'], 'depth' => 1, - 'other' => [['name' => 'nresults', 'data' => $chunk_size]], + // do NOT limit response, if GET parameter download is given + 'other' => isset($_GET['download']) ? [] : [['name' => 'nresults', 'data' => $chunk_size]], ); $files = array(); if (($ret = $this->PROPFIND($propfind_options,$files)) !== true)