diff --git a/ChangeLog b/ChangeLog index ee2925b70..43acae09f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-02-17 Francis Lachapelle + + * SoObjects/Contacts/SOGoFolder+CardDAV.m (-parseContactFilter:): + we now consider all DOM elements from the text-match element. This + fixes problems when the query contains one or more HTML entities. + 2011-02-17 Ludovic Marcotte * Modified all tools to NOT check for SOGoUserSources @@ -7,6 +13,12 @@ to pass the server URL and not the host particle in order to determine if we are using SSL or not. +2011-02-16 Francis Lachapelle + + * UI/WebServerResources/UIxPreferences.js (-appendSieveFilterRow): + fixed a bug with IE8 that would not set the "checked" attribute + properly on a checkbox. + 2011-02-15 Ludovic Marcotte * SoObjects/Appointments/SOGoCalendarComponent.m @@ -15,12 +27,6 @@ SOGoEnableEMailAlarms was set to YES prior doing this. This fixes bug #1079. -2011-02-16 Francis Lachapelle - - * UI/WebServerResources/UIxPreferences.js (-appendSieveFilterRow): - fixed a bug with IE8 that would not set the "checked" attribute - properly on a checkbox. - 2011-02-14 Francis Lachapelle * UI/Scheduler/UIxDatePicker.m diff --git a/SoObjects/Contacts/SOGoFolder+CardDAV.m b/SoObjects/Contacts/SOGoFolder+CardDAV.m index db9da4aef..2f62f1641 100644 --- a/SoObjects/Contacts/SOGoFolder+CardDAV.m +++ b/SoObjects/Contacts/SOGoFolder+CardDAV.m @@ -1,6 +1,6 @@ /* NSObject+CardDAV.m - this file is part of SOGo * - * Copyright (C) 2007-2009 Inverse inc. + * Copyright (C) 2007-2011 Inverse inc. * * Author: Ludovic Marcotte * @@ -30,6 +30,7 @@ #import #import #import +#import #import #import @@ -142,8 +143,8 @@ && [(NSArray *) [[ranges objectAtIndex: 0] childNodes] count]) { filterData = [NSMutableDictionary dictionary]; - [filterData setObject: [[(NSArray *)[[ranges objectAtIndex: 0] childNodes] lastObject] data] - forKey: [filterElement attribute: @"name"]]; + [filterData setObject: [(NGDOMNode *)[ranges objectAtIndex: 0] textValue] + forKey: [filterElement attribute: @"name"]]; } }