mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
* CalDAV/GroupDAV: return empty collection, as iCal under iOS 5 had problems with returning "404 Not found" status
This commit is contained in:
parent
b6bfe9373a
commit
8edcf808d2
@ -136,7 +136,9 @@ class calendar_groupdav extends groupdav_handler
|
||||
// process REPORT filters or multiget href's
|
||||
if (($id || $options['root']['name'] != 'propfind') && !$this->_report_filters($options,$filter,$id))
|
||||
{
|
||||
return false;
|
||||
// return empty collection, as iCal under iOS 5 had problems with returning "404 Not found" status
|
||||
// when trying to request not supported components, eg. VTODO on a calendar collection
|
||||
return true;
|
||||
}
|
||||
if ($this->debug > 1)
|
||||
{
|
||||
|
@ -119,7 +119,9 @@ class infolog_groupdav extends groupdav_handler
|
||||
// process REPORT filters or multiget href's
|
||||
if (($id || $options['root']['name'] != 'propfind') && !$this->_report_filters($options,$filter,$id))
|
||||
{
|
||||
return false;
|
||||
// return empty collection, as iCal under iOS 5 had problems with returning "404 Not found" status
|
||||
// when trying to request not supported components, eg. VTODO on a calendar collection
|
||||
return true;
|
||||
}
|
||||
if ($this->debug > 1)
|
||||
{
|
||||
@ -143,6 +145,7 @@ class infolog_groupdav extends groupdav_handler
|
||||
|
||||
// return iterator, calling ourself to return result in chunks
|
||||
$files['files'] = new groupdav_propfind_iterator($this,$path,$filter,$files['files']);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user