diff --git a/ChangeLog b/ChangeLog index a2638278c..60b5ef6e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-04-10 Wolfgang Sourdeau + * SoObjects/Contacts/SOGoContactGCSEntry.m ([SOGoContactGCSEntry + -vCard]): test the prefix of the card in a case-independent way. + * OGoContentStore/OCSContactFieldExtractor.m ([OCSContactFieldExtractor -extractQuickFieldsFromContent:content]): we no longer accept diff --git a/SoObjects/Contacts/SOGoContactGCSEntry.m b/SoObjects/Contacts/SOGoContactGCSEntry.m index 1dde518e9..39aca0a4b 100644 --- a/SoObjects/Contacts/SOGoContactGCSEntry.m +++ b/SoObjects/Contacts/SOGoContactGCSEntry.m @@ -54,7 +54,7 @@ if (!card) { contentStr = [self contentAsString]; - if ([contentStr hasPrefix:@"BEGIN:VCARD"]) + if ([[contentStr uppercaseString] hasPrefix:@"BEGIN:VCARD"]) card = [NGVCard parseSingleFromSource: contentStr]; else card = [NGVCard cardWithUid: [self nameInContainer]];