From 24ced2b762123afe7af3a7de8c37f2a285acd0a1 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 27 May 2005 15:25:42 +0000 Subject: don't interpret Bcc header field of mailto URL. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@294 ee746299-78ed-0310-b773-934348b2243d --- ChangeLog | 5 +++++ ChangeLog.ja | 5 +++++ src/compose.c | 6 +----- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8f196852..78ca9d26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-27 + + * src/compose.c: compose_entries_set(): don't interpret Bcc header + field (conform to RFC 2368). + 2005-05-27 * src/mh.c diff --git a/ChangeLog.ja b/ChangeLog.ja index 484e96e8..248c275d 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,8 @@ +2005-05-27 + + * src/compose.c: compose_entries_set(): Bcc ヘッダフィールドを解釈 + しないようにした(RFC 2368 に従うようにした)。 + 2005-05-27 * src/mh.c diff --git a/src/compose.c b/src/compose.c index 905ff16c..c1040f6d 100644 --- a/src/compose.c +++ b/src/compose.c @@ -1108,18 +1108,15 @@ static void compose_entries_set(Compose *compose, const gchar *mailto) { gchar *to = NULL; gchar *cc = NULL; - gchar *bcc = NULL; gchar *subject = NULL; gchar *body = NULL; - scan_mailto_url(mailto, &to, &cc, &bcc, &subject, &body); + scan_mailto_url(mailto, &to, &cc, NULL, &subject, &body); if (to) compose_entry_set(compose, to, COMPOSE_ENTRY_TO); if (cc) compose_entry_set(compose, cc, COMPOSE_ENTRY_CC); - if (bcc) - compose_entry_set(compose, bcc, COMPOSE_ENTRY_BCC); if (subject) compose_entry_set(compose, subject, COMPOSE_ENTRY_SUBJECT); if (body) { @@ -1145,7 +1142,6 @@ static void compose_entries_set(Compose *compose, const gchar *mailto) g_free(to); g_free(cc); - g_free(bcc); g_free(subject); g_free(body); } -- cgit v1.2.3