Skip to content

Commit

Permalink
fix(addressbook): properly handle unknown properties in DAV report
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Sep 29, 2021
1 parent 3da633a commit 4884cb3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions SoObjects/Contacts/SOGoContactSourceFolder.m
Original file line number Diff line number Diff line change
Expand Up @@ -527,12 +527,15 @@ - (NSString **) _properties: (NSString **) properties
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]);
Expand Down

0 comments on commit 4884cb3

Please sign in to comment.