From 77a1312952d74b236a2763f493f9622a8343adc4 Mon Sep 17 00:00:00 2001 From: helge Date: Mon, 21 Nov 2005 13:33:39 +0000 Subject: [PATCH] detect WinXP SP2 WebFolders git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1186 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-appserver/NGObjWeb/ChangeLog | 3 +++ sope-appserver/NGObjWeb/Version | 2 +- sope-appserver/NGObjWeb/WEClientCapabilities.m | 7 +++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index c969f729..c8a62fa4 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,5 +1,8 @@ 2005-11-21 Helge Hess + * WEClientCapabilities.m: added WebFolders WinXP SP2 as a known user + agent (v4.5.215) + * Associations/WOAssociation.[hm]. WOKeyPathAssociation.m: explicitly type signed char values to avoid gcc4 warnings (v4.5.214) diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index 0c1be35d..2d34905e 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=214 +SUBMINOR_VERSION:=215 # v4.5.214 requires libNGExtensions v4.5.179 # v4.5.122 requires libNGExtensions v4.5.153 diff --git a/sope-appserver/NGObjWeb/WEClientCapabilities.m b/sope-appserver/NGObjWeb/WEClientCapabilities.m index a17f44ca..ccf2b97c 100644 --- a/sope-appserver/NGObjWeb/WEClientCapabilities.m +++ b/sope-appserver/NGObjWeb/WEClientCapabilities.m @@ -173,6 +173,10 @@ /* Entourage MacOSX 10.1.4 */ self->browser = WEUA_Entourage; } + else if (strstr(ua, "Microsoft-WebDAV-MiniRedir/5")) { + /* WebFolders Win XP SP 2 */ + self->browser = WEUA_WebFolder; + } else if ((tmp = strstr(ua, "MSIE"))) { /* Internet Explorer */ self->browser = WEUA_IE; @@ -1057,4 +1061,7 @@ static NSString *WEClientDetectorFormName = @"WEClientDetect"; Google Ads 'Mediapartners-Google/2.1' + + WebFolders Win XP SP2 + 'Microsoft-WebDAV-MiniRedir/5.1.2600' */ -- 2.39.5