forked from extern/egroupware
* CalDAV: user agent detection of OS X 10.7 Lion iCal app (CoreDav instead of DavKit)
This commit is contained in:
parent
10e5735e16
commit
79d12b67be
@ -141,6 +141,7 @@ class groupdav extends HTTP_WebDAV_Server
|
|||||||
$this->cnrnd = true;
|
$this->cnrnd = true;
|
||||||
break;
|
break;
|
||||||
case 'davkit': // iCal app in OS X 10.6 created wrong request, if full url given
|
case 'davkit': // iCal app in OS X 10.6 created wrong request, if full url given
|
||||||
|
case 'coredav': // iCal app in OS X 10.7
|
||||||
$this->client_require_href_as_url = false;
|
$this->client_require_href_as_url = false;
|
||||||
$this->cnrnd = true;
|
$this->cnrnd = true;
|
||||||
break;
|
break;
|
||||||
|
@ -344,9 +344,10 @@ abstract class groupdav_handler
|
|||||||
$user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
|
$user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
|
||||||
foreach(array(
|
foreach(array(
|
||||||
'iphone' => 'iphone', // Apple iPhone iCal
|
'iphone' => 'iphone', // Apple iPhone iCal
|
||||||
'davkit' => 'davkit', // Apple iCal
|
'davkit' => 'davkit', // Apple iCal 10.6
|
||||||
|
'coredav' => 'coredav', // Apple iCal 10.7
|
||||||
'dataaccess' => 'dataaccess', // Apple addressbook iPhone
|
'dataaccess' => 'dataaccess', // Apple addressbook iPhone
|
||||||
'cfnetwork' => 'cfnetwork', // Apple Addressbook
|
'cfnetwork' => 'cfnetwork', // Apple Addressbook 10.6/7
|
||||||
'bionicmessage.net' => 'funambol', // funambol GroupDAV connector from bionicmessage.net
|
'bionicmessage.net' => 'funambol', // funambol GroupDAV connector from bionicmessage.net
|
||||||
'zideone' => 'zideone', // zideone outlook plugin
|
'zideone' => 'zideone', // zideone outlook plugin
|
||||||
'lightning' => 'lightning', // Lighting (SOGo connector for addressbook)
|
'lightning' => 'lightning', // Lighting (SOGo connector for addressbook)
|
||||||
|
Loading…
Reference in New Issue
Block a user