mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +00:00
fix(addressbook): properly handle unknown properties in DAV report
This commit is contained in:
1 parent
3da633aebf
commit
4884cb3978
1 file changed
+6
-3
@@ -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