From df36afa1eda8cd21ada199523ee84679c831c424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Tue, 18 May 2010 10:45:46 +0000 Subject: [PATCH] Fix DAV issue for neon for GroupDAV, too --- phpgwapi/inc/class.groupdav.inc.php | 3 +++ phpgwapi/inc/class.groupdav_handler.inc.php | 2 +- webdav.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.groupdav.inc.php b/phpgwapi/inc/class.groupdav.inc.php index 89d0baa660..773bd96bf5 100644 --- a/phpgwapi/inc/class.groupdav.inc.php +++ b/phpgwapi/inc/class.groupdav.inc.php @@ -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(); diff --git a/phpgwapi/inc/class.groupdav_handler.inc.php b/phpgwapi/inc/class.groupdav_handler.inc.php index e69c0a8f6b..ce280b3c86 100644 --- a/phpgwapi/inc/class.groupdav_handler.inc.php +++ b/phpgwapi/inc/class.groupdav_handler.inc.php @@ -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) diff --git a/webdav.php b/webdav.php index d42ff64d86..cba7d3b693 100644 --- a/webdav.php +++ b/webdav.php @@ -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();