From ce5a9b6fdf2a3c6d2163fbe557d3bd839f307d71 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 9 Mar 2012 17:12:59 +0000 Subject: [PATCH] See ChangeLog. Monotone-Parent: 33ff1424b902e24430e86c14dd3abab8c93e0a34 Monotone-Revision: 6612ce10e366b364b60432933033c8be20fa7759 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-03-09T17:12:59 --- ChangeLog | 5 +++++ SoObjects/SOGo/WORequest+SOGo.m | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60a5c3cd7..37a87e15c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-03-12 Francis Lachapelle + + * SoObjects/SOGo/WORequest+SOGo.m (-isIPhoneAddressBookApp): catch + the user agent of iOS 5.0.1 on iPad. + 2012-03-09 Wolfgang Sourdeau * SoObjects/Contacts/NGVCard+SOGo.m diff --git a/SoObjects/SOGo/WORequest+SOGo.m b/SoObjects/SOGo/WORequest+SOGo.m index c7b6b6f83..c7b76fbbb 100644 --- a/SoObjects/SOGo/WORequest+SOGo.m +++ b/SoObjects/SOGo/WORequest+SOGo.m @@ -172,8 +172,8 @@ cc = [self clientCapabilities]; - return ([[cc userAgent] rangeOfString: @"DataAccess/1.0"].location - != NSNotFound); + return ([[cc userAgent] rangeOfString: @"DataAccess/1.0"].location != NSNotFound || + [[cc userAgent] rangeOfString: @"dataaccessd/1.0"].location != NSNotFound); // Seen on iOS 5.0.1 on iPad } @end