From: Wilfried Göesgens Date: Fri, 30 May 2008 20:57:12 +0000 (+0000) Subject: * separate content-type header fields by ';' ; thanks Guido for pointing this out. X-Git-Tag: v7.86~2186 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=3987fe864a582910927bcc368c6af4950554c5fb * separate content-type header fields by ';' ; thanks Guido for pointing this out. --- 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 );