Fix DAV issue for neon for GroupDAV, too

This commit is contained in:
Jörg Lehrke 2010-05-18 10:45:46 +00:00
parent 7e9c97a770
commit df36afa1ed
3 changed files with 5 additions and 2 deletions

View File

@ -138,6 +138,9 @@ class groupdav extends HTTP_WebDAV_Server
break;
case 'cfnetwork_old':
$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();

View File

@ -334,7 +334,7 @@ abstract class groupdav_handler
'zideone' => 'zideone', // zideone outlook plugin
'lightning' => 'lightning', // Lighting (SOGo connector for addressbook)
'khtml' => 'kde', // KDE clients
'cadaver' => 'cadaver',
'neon' => 'neon'
) as $pattern => $name)
{
if (strpos($user_agent,$pattern) !== false)

View File

@ -89,7 +89,7 @@ $user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
if (strstr($user_agent, 'microsoft-webdav') !== false ||
strstr($user_agent, 'neon') !== false)
{
// Neon & Windows 7 special treatment
// neon & Windows 7 special treatment
$webdav_server->cnrnd = true;
}
$webdav_server->ServeRequest();