talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 44281b68553b62a63da2aded3c5c5f23513d9d79
parent 47b57a99f66467f61b731005534d8940c7992c6c
Author: Paul Mangan <paul@claws-mail.org>
Date:   Sat, 23 Feb 2013 09:15:27 +0000

2013-02-23 [paul]	3.9.0cvs101

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

Diffstat:
MChangeLog | 6++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/mimeview.c | 2+-
4 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2013-02-23 [paul] 3.9.0cvs101 + + * src/mimeview.c + escape filename/description text, prevents error if, e.g., the + filename contains an ampersand + 2013-02-22 [colin] 3.9.0cvs100 * AUTHORS diff --git a/PATCHSETS b/PATCHSETS @@ -4598,3 +4598,4 @@ ( cvs diff -u -r 1.115.2.268 -r 1.115.2.269 src/main.c; ) > 3.9.0cvs98.patchset ( cvs diff -u -r 1.654.2.4675 -r 1.654.2.4676 configure.ac; ) > 3.9.0cvs99.patchset ( cvs diff -u -r 1.100.2.89 -r 1.100.2.90 AUTHORS; cvs diff -u -r 1.1.2.84 -r 1.1.2.85 src/gtk/authors.h; cvs diff -u -r 1.395.2.461 -r 1.395.2.462 src/summaryview.c; ) > 3.9.0cvs100.patchset +( cvs diff -u -r 1.83.2.196 -r 1.83.2.197 src/mimeview.c; ) > 3.9.0cvs101.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=9 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=100 +EXTRA_VERSION=101 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/mimeview.c b/src/mimeview.c @@ -2553,7 +2553,7 @@ static void icon_list_append_icon (MimeView *mimeview, MimeInfo *mimeinfo) 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);