diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-10-19 08:16:00 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-10-19 08:16:00 +0800 |
commit | 925301288069794eb2b1611bd1888af0996d76e3 (patch) | |
tree | b67e33ece6625c13bffcb7366efefb56cb738ab8 /camel/camel-mime-part.c | |
parent | 64092e6d7e9ae2f5c4411654f4ea5d7bfdd84968 (diff) | |
download | gsoc2013-evolution-925301288069794eb2b1611bd1888af0996d76e3.tar gsoc2013-evolution-925301288069794eb2b1611bd1888af0996d76e3.tar.gz gsoc2013-evolution-925301288069794eb2b1611bd1888af0996d76e3.tar.bz2 gsoc2013-evolution-925301288069794eb2b1611bd1888af0996d76e3.tar.lz gsoc2013-evolution-925301288069794eb2b1611bd1888af0996d76e3.tar.xz gsoc2013-evolution-925301288069794eb2b1611bd1888af0996d76e3.tar.zst gsoc2013-evolution-925301288069794eb2b1611bd1888af0996d76e3.zip |
The correct fix this time - the description should be encoded here and not
2000-10-18 Jeffrey Stedfast <fejj@helixcode.com>
* camel-mime-part.c (camel_mime_part_set_description): The correct
fix this time - the description should be encoded here and not in
the camel-medium layer.
svn path=/trunk/; revision=6008
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r-- | camel/camel-mime-part.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index cb60d688a0..e661e0caf5 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -280,8 +280,11 @@ get_header (CamelMedium *medium, const char *header_name) void camel_mime_part_set_description (CamelMimePart *mime_part, const gchar *description) { + char *text = header_encode_string (description); + camel_medium_set_header (CAMEL_MEDIUM (mime_part), - "Content-Description", description); + "Content-Description", text); + g_free (text); } const gchar * |