mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-16 08:57:12 +00:00
(fix) skip potentially bogus cards coming from LDAP
This commit is contained in:
1 parent
5e210e6fea
commit
04e804e62f
1 file changed
+3
-2
@@ -2575,8 +2575,9 @@ void handle_eas_terminate(int signum)
|
||||
{
|
||||
contact = [allContacts objectAtIndex: j];
|
||||
|
||||
// We skip lists for now
|
||||
if ([[contact objectForKey: @"c_component"] isEqualToString: @"vlist"])
|
||||
// We skip lists for now and bogus entries
|
||||
if ([[contact objectForKey: @"c_component"] isEqualToString: @"vlist"] ||
|
||||
[[contact objectForKey: @"c_name"] length] == 0)
|
||||
continue;
|
||||
|
||||
// We get the LDIF entry of our record, for easier processing
|
||||
|
||||
Reference in new issue
Block a user