From 5d5b413e4b4213e72f51d6393d4f42ba96936ea2 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 17 Mar 2006 04:48:28 +0000 Subject: implemented RFC 2231 filename encoding on send. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1052 ee746299-78ed-0310-b773-934348b2243d --- libsylph/procmime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libsylph/procmime.c') diff --git a/libsylph/procmime.c b/libsylph/procmime.c index c79a2e59..28bb9d1f 100644 --- a/libsylph/procmime.c +++ b/libsylph/procmime.c @@ -576,7 +576,7 @@ static MimeParams *procmime_parse_mime_parameter(const gchar *str) if (encoded) { dec_value = g_malloc(strlen(begin) + 1); - decode_uri(dec_value, begin); + decode_xdigit_encoded_str(dec_value, begin); CONCAT_CONT_VALUE(dec_value); g_free(dec_value); } else { @@ -602,7 +602,7 @@ static MimeParams *procmime_parse_mime_parameter(const gchar *str) mparam->name = name; if (encoded) { dec_value = g_malloc(strlen(begin) + 1); - decode_uri(dec_value, begin); + decode_xdigit_encoded_str(dec_value, begin); mparam->value = procmime_convert_value (dec_value, charset); g_free(dec_value); -- cgit v1.2.3