diff options
-rw-r--r-- | camel/ChangeLog | 8 | ||||
-rw-r--r-- | camel/camel-mime-utils.c | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index a6bc6dd764..6882c8d58a 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,11 @@ +2004-03-30 Jeffrey Stedfast <fejj@ximian.com> + + * camel-mime-utils.c (header_decode_param): Use + header_decode_text() rather than rfc2047_decode_word() to decode + the brokenly rfc2047 encoded param value string in case it is + actually made up of multiple rfc2047 encoded words. Thanks to + Andrei Nigmatulin for the fix. + 2004-03-30 Not Zed <NotZed@Ximian.com> * camel-store.c (camel_store_get_folder_info): added some debug to diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index 6d1f6c3b46..13e9d815ef 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -1996,8 +1996,7 @@ header_decode_param (const char **in, char **paramp, char **valuep, int *is_rfc2 */ char *val; - val = rfc2047_decode_word (value, strlen (value)); - if (val) { + if ((val = header_decode_text (value, strlen (value), NULL))) { g_free (value); value = val; } |