mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 06:18:50 +00:00
Monotone-Parent: 95c7a1c7bf37236d7e711c323e1798c779fd1f21
Monotone-Revision: 9885caef81ed03ae9c3c25ac8c9a6c0bf60db18b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-02-06T13:57:44
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2012-02-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/LDAPSource.m: escape built DNs using the new
|
||||
-[NSString escapedForLDAPDN] method.
|
||||
|
||||
2012-02-03 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/UIxMailEditor.js (onRemoveAttachments):
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#import <NGLdap/NGLdapAttribute.h>
|
||||
#import <NGLdap/NGLdapEntry.h>
|
||||
#import <NGLdap/NGLdapModification.h>
|
||||
#import <NGLdap/NSString+DN.h>
|
||||
|
||||
#import "NSArray+Utilities.h"
|
||||
#import "NSString+Utilities.h"
|
||||
@@ -572,7 +573,7 @@ andMultipleBookingsField: (NSString *) newMultipleBookingsField
|
||||
}
|
||||
else
|
||||
userDN = [NSString stringWithFormat: @"%@=%@,%@",
|
||||
IDField, _login, baseDN];
|
||||
IDField, [_login escapedForLDAPDN], baseDN];
|
||||
}
|
||||
|
||||
if (userDN)
|
||||
@@ -661,7 +662,7 @@ andMultipleBookingsField: (NSString *) newMultipleBookingsField
|
||||
userDN = [self _fetchUserDNForLogin: login];
|
||||
else
|
||||
userDN = [NSString stringWithFormat: @"%@=%@,%@",
|
||||
IDField, login, baseDN];
|
||||
IDField, [login escapedForLDAPDN], baseDN];
|
||||
if (userDN)
|
||||
{
|
||||
NS_DURING
|
||||
|
||||
Reference in New Issue
Block a user