From 74a218143cda272873811c96a7ce9bca8a459410 Mon Sep 17 00:00:00 2001 From: helge Date: Tue, 16 Oct 2007 11:05:25 +0000 Subject: [PATCH] added WDFS as a known user agent git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1545 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-appserver/NGObjWeb/ChangeLog | 5 +++++ sope-appserver/NGObjWeb/Version | 2 +- sope-appserver/NGObjWeb/WEClientCapabilities.m | 10 ++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index 8dda4ed8..975ee85b 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,3 +1,8 @@ +2007-10-16 Helge Hess + + * WEClientCapabilities.m: added wdfs as a known (WebDAV) user agent + (v4.7.17) + 2007-09-27 Helge Hess * Associations/WOKeyPathAssociation.m: clarified some code (v4.7.16) diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index 29df970b..613891cf 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=16 +SUBMINOR_VERSION:=17 # v4.7.11 requires libNGExtensions v4.7.194 # v4.5.234 requires libDOM v4.5.21 diff --git a/sope-appserver/NGObjWeb/WEClientCapabilities.m b/sope-appserver/NGObjWeb/WEClientCapabilities.m index eb7c05b8..3bd44a9c 100644 --- a/sope-appserver/NGObjWeb/WEClientCapabilities.m +++ b/sope-appserver/NGObjWeb/WEClientCapabilities.m @@ -75,6 +75,7 @@ #define WEUA_Sunbird 44 #define WEUA_PEAR_XMLRPC 45 #define WEUA_Cook_XMLRPCdotNET 46 +#define WEUA_WDFS 47 #define WEOS_UNKNOWN 0 #define WEOS_WINDOWS 1 @@ -274,6 +275,10 @@ /* Evolution */ self->browser = WEUA_Evolution; } + else if (strstr(ua, "wdfs/")) { + /* WDFS */ + self->browser = WEUA_WDFS; + } else if (strstr(ua, "Soup/")) { /* SOUP (GNOME WebDAV library) */ self->browser = WEUA_SOUP; @@ -479,6 +484,7 @@ case WEUA_Sunbird: return @"Sunbird"; case WEUA_PEAR_XMLRPC: return @"PHP PEAR XMLRPC"; case WEUA_Cook_XMLRPCdotNET: return @"PHP PEAR XMLRPC"; + case WEUA_WDFS: return @"WDFS"; default: return @"unknown"; } } @@ -639,6 +645,7 @@ if (self->browser == WEUA_PerlHTTPDAV) return YES; if (self->browser == WEUA_WebDrive) return YES; if (self->browser == WEUA_Sunbird) return YES; + if (self->browser == WEUA_WDFS) return YES; return NO; } @@ -1140,4 +1147,7 @@ static NSString *WEClientDetectorFormName = @"WEClientDetect"; 'x-up-subno: 981574289-60174629' 'x-up-wtls-info: off' 'x-wap-profile: "http://wap.sonyericsson.com/UAprof/T610R301.xml"' + + WDFS + 'wdfs/1.4.2 neon/0.26.4' */ -- 2.39.5