mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 10:21:23 +01:00
Fix DAV issue for neon for GroupDAV, too
This commit is contained in:
parent
7e9c97a770
commit
df36afa1ed
@ -138,6 +138,9 @@ class groupdav extends HTTP_WebDAV_Server
|
|||||||
break;
|
break;
|
||||||
case 'cfnetwork_old':
|
case 'cfnetwork_old':
|
||||||
$this->crrnd = true; // Older Apple Addressbook.app does not cope with namespace redundancy
|
$this->crrnd = true; // Older Apple Addressbook.app does not cope with namespace redundancy
|
||||||
|
break;
|
||||||
|
case 'neon':
|
||||||
|
$this->cnrnd = true; // neon clients like cadaver
|
||||||
}
|
}
|
||||||
parent::HTTP_WebDAV_Server();
|
parent::HTTP_WebDAV_Server();
|
||||||
|
|
||||||
|
@ -334,7 +334,7 @@ abstract class groupdav_handler
|
|||||||
'zideone' => 'zideone', // zideone outlook plugin
|
'zideone' => 'zideone', // zideone outlook plugin
|
||||||
'lightning' => 'lightning', // Lighting (SOGo connector for addressbook)
|
'lightning' => 'lightning', // Lighting (SOGo connector for addressbook)
|
||||||
'khtml' => 'kde', // KDE clients
|
'khtml' => 'kde', // KDE clients
|
||||||
'cadaver' => 'cadaver',
|
'neon' => 'neon'
|
||||||
) as $pattern => $name)
|
) as $pattern => $name)
|
||||||
{
|
{
|
||||||
if (strpos($user_agent,$pattern) !== false)
|
if (strpos($user_agent,$pattern) !== false)
|
||||||
|
@ -89,7 +89,7 @@ $user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
|
|||||||
if (strstr($user_agent, 'microsoft-webdav') !== false ||
|
if (strstr($user_agent, 'microsoft-webdav') !== false ||
|
||||||
strstr($user_agent, 'neon') !== false)
|
strstr($user_agent, 'neon') !== false)
|
||||||
{
|
{
|
||||||
// Neon & Windows 7 special treatment
|
// neon & Windows 7 special treatment
|
||||||
$webdav_server->cnrnd = true;
|
$webdav_server->cnrnd = true;
|
||||||
}
|
}
|
||||||
$webdav_server->ServeRequest();
|
$webdav_server->ServeRequest();
|
||||||
|
Loading…
Reference in New Issue
Block a user