From 3987fe864a582910927bcc368c6af4950554c5fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Fri, 30 May 2008 20:57:12 +0000 Subject: [PATCH] * separate content-type header fields by ';' ; thanks Guido for pointing this out. --- citadel/modules/calendar/serv_calendar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/citadel/modules/calendar/serv_calendar.c b/citadel/modules/calendar/serv_calendar.c index e9a96e5f0..c39296e32 100644 --- a/citadel/modules/calendar/serv_calendar.c +++ b/citadel/modules/calendar/serv_calendar.c @@ -332,7 +332,7 @@ void ical_send_a_reply(icalcomponent *request, char *action) { reply_message_text = malloc(strlen(serialized_reply) + SIZ); if (reply_message_text != NULL) { sprintf(reply_message_text, - "Content-type: text/calendar charset=\"utf-8\"\r\n\r\n%s\r\n", + "Content-type: text/calendar; charset=\"utf-8\"\r\n\r\n%s\r\n", serialized_reply ); @@ -707,7 +707,7 @@ int ical_update_my_calendar_with_reply(icalcomponent *cal) { message_text = malloc(strlen(serialized_event) + SIZ); if (message_text != NULL) { sprintf(message_text, - "Content-type: text/calendar charset=\"utf-8\"\r\n\r\n%s\r\n", + "Content-type: text/calendar; charset=\"utf-8\"\r\n\r\n%s\r\n", serialized_event ); -- 2.30.2