mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-31 06:45:42 +00:00
Monotone-Parent: 5a279242bcd0a7239b0fee3400fe08b944a04d51
Monotone-Revision: fbaf51f1b9944aee510a816b001f424db9802648 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-04T14:42:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
6a9b6e5fd5
commit
82aa341a5f
2 files changed
+5
-1
No files matched your search
@@ -1,5 +1,8 @@
|
||||
2009-06-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Contacts/SOGoContactGCSFolder.m
|
||||
(-lookupContactsWithFilter:sortBy:ordering:): same as below.
|
||||
|
||||
* SoObjects/SOGo/LDAPSource.m: properly escaped user-entered
|
||||
strings which may contain quotes and thereby mess up the LDAP
|
||||
queries.
|
||||
|
||||
@@ -216,7 +216,8 @@
|
||||
|
||||
if (filter && [filter length] > 0)
|
||||
{
|
||||
filter = [filter stringByReplacingString: @"'" withString: @"\\'\\'"];
|
||||
filter = [[filter stringByReplacingString: @"\\" withString: @"\\\\"]
|
||||
stringByReplacingString: @"'" withString: @"\\'\\'"];
|
||||
qs = [NSString stringWithFormat:
|
||||
@"(c_sn isCaseInsensitiveLike: '%@%%') OR "
|
||||
@"(c_givenname isCaseInsensitiveLike: '%@%%') OR "
|
||||
|
||||
Reference in new issue
Block a user