See ChangeLog.

Monotone-Parent: 50142b417b19ad36d3c63bd36b61105185f0efc0
Monotone-Revision: 41bb79702e5e49315aa6313331d91aaf5357ff5f

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-02-17T22:12:04
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2011-02-17 22:12:04 +00:00
parent 4933913b4f
commit 6f7e03bbd3
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
2011-02-17 Francis Lachapelle <flachapelle@inverse.ca>
* 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-16 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/UIxPreferences.js (-appendSieveFilterRow):

View File

@@ -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 <ludovic@inverse.ca>
*
@@ -30,6 +30,7 @@
#import <NGExtensions/NSObject+Logs.h>
#import <NGExtensions/NSString+misc.h>
#import <DOM/DOMProtocols.h>
#import <DOM/DOMNode.h>
#import <SaxObjC/SaxObjC.h>
#import <SaxObjC/XMLNamespaces.h>
@@ -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"]];
}
}