[Commits] mimeview.c 1.83.2.196 1.83.2.197

claws at claws-mail.org claws at claws-mail.org
Sat Feb 23 10:15:29 CET 2013


Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv32330/src

Modified Files:
      Tag: gtk2
	mimeview.c 
Log Message:
2013-02-23 [paul]	3.9.0cvs101

	* src/mimeview.c
		escape filename/description text, prevents error if, e.g., the
		filename contains an ampersand 

Index: mimeview.c
===================================================================
RCS file: /home/claws-mail/claws/src/mimeview.c,v
retrieving revision 1.83.2.196
retrieving revision 1.83.2.197
diff -u -d -r1.83.2.196 -r1.83.2.197
--- mimeview.c	21 Sep 2012 10:19:42 -0000	1.83.2.196
+++ mimeview.c	23 Feb 2013 09:15:27 -0000	1.83.2.197
@@ -2553,7 +2553,7 @@
 		tiptmp = g_strconcat(tip, "\n<b>",
 				prefs_common.attach_desc && mimeinfo->description ?
 				_("Description:") : _("Filename:"),
-				" </b>", tmp, NULL);
+				" </b>", g_markup_escape_text(tmp,-1), NULL);
 		g_free(tip);
 		tip = tiptmp;
 		g_free(tmp);



More information about the Commits mailing list