+2007-06-29 Adam Williams <awilliam@whitemice.org>
+
+ * WEClientCapabilities.m: added PHP PEAR as a known user-agent (fixes
+ OGo bug #1882) (v4.7.13)
+
2007-07-19 Marcus Mueller <znek@mulle-kybernetik.com>
* v4.7.12
/*
- Copyright (C) 2000-2006 SKYRIX Software AG
- Copyright (C) 2006 Helge Hess
+ Copyright (C) 2000-2007 SKYRIX Software AG
+ Copyright (C) 2006-2007 Helge Hess
This file is part of SOPE.
#define WEUA_Google 42
#define WEUA_WebDrive 43
#define WEUA_Sunbird 44
+#define WEUA_PEAR_XMLRPC 45
#define WEOS_UNKNOWN 0
#define WEOS_WINDOWS 1
else if (strstr(ua, "Mediapartners-Google/")) {
self->browser = WEUA_Google;
}
+ else if (strstr(ua, "PEAR XML_RPC")) {
+ self->browser = WEUA_PEAR_XMLRPC;
+ }
else {
/* unknown browser */
self->browser = WEUA_UNKNOWN;
case WEUA_Google: return @"Google";
case WEUA_WebDrive: return @"WebDrive";
case WEUA_Sunbird: return @"Sunbird";
+ case WEUA_PEAR_XMLRPC: return @"PHP PEAR XMLRPC";
default: return @"unknown";
}
}
if (self->browser == WEUA_xmlrpclib_py) return YES;
if (self->browser == WEUA_KungLog) return YES;
if (self->browser == WEUA_Ecto) return YES;
+ if (self->browser == WEUA_PEAR_XMLRPC) return YES;
return NO;
}
- (BOOL)isBLogClient {
- (BOOL)isKonqueror {
return self->browser == WEUA_Konqueror ? YES : NO;
}
+- (BOOL)isPHP {
+ return self-browser == WEUA_PEAR_XMLRPC ? YES : NO;
+}
/* OS */