From 0961fbbab36a6506a736929586d381ef6827adc6 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 10 Apr 2014 06:59:18 -0400 Subject: [PATCH] Properly escape attendee names in case they contain HTML entities --- ActiveSync/iCalEvent+ActiveSync.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ActiveSync/iCalEvent+ActiveSync.m b/ActiveSync/iCalEvent+ActiveSync.m index 8b15a6d8d..0a8ea7a56 100644 --- a/ActiveSync/iCalEvent+ActiveSync.m +++ b/ActiveSync/iCalEvent+ActiveSync.m @@ -160,7 +160,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. attendee = [attendees objectAtIndex: i]; [s appendFormat: @"%@", [attendee rfc822Email]]; - [s appendFormat: @"%@", [attendee cn]]; + [s appendFormat: @"%@", [[attendee cn] activeSyncRepresentationInContext: context]]; attendee_status = [self _attendeeStatus: attendee];