mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 12:28:51 +00:00
fix(addressbook): properly handle unknown properties in DAV report
This commit is contained in:
@@ -527,12 +527,15 @@
|
||||
currentValue = values;
|
||||
while (*currentProperty)
|
||||
{
|
||||
*values = nil;
|
||||
methodSel = SOGoSelectorForPropertyGetter (*currentProperty);
|
||||
if (methodSel && [ldifEntry respondsToSelector: methodSel])
|
||||
*currentValue = [[ldifEntry performSelector: methodSel]
|
||||
safeStringByEscapingXMLString];
|
||||
{
|
||||
*currentValue = [[ldifEntry performSelector: methodSel]
|
||||
safeStringByEscapingXMLString];
|
||||
currentValue++;
|
||||
}
|
||||
currentProperty++;
|
||||
currentValue++;
|
||||
}
|
||||
|
||||
// NSLog (@"/_properties:ofObject:: %@", [NSDate date]);
|
||||
|
||||
Reference in New Issue
Block a user