mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +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
90bc88449a
commit
b11fa0302f
@ -165,7 +165,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)
|
||||
{
|
||||
|
@ -147,7 +147,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)
|
||||
{
|
||||
@ -171,6 +173,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