diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-03-17 04:48:28 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-03-17 04:48:28 +0000 |
commit | 5d5b413e4b4213e72f51d6393d4f42ba96936ea2 (patch) | |
tree | 470154d84b34f340f90ceefb0ccbc936869002a7 /libsylph/procmime.c | |
parent | 0758434f9b288d0c05d7df2147a24c0ca9af0492 (diff) |
implemented RFC 2231 filename encoding on send.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1052 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/procmime.c')
-rw-r--r-- | libsylph/procmime.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |