From 2ee4333b0b24c61c208be9c50969945da4ff95c3 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 16 Oct 2006 21:48:20 +0000 Subject: [PATCH] escape filename before adding them to filetransfert window. fixes #2582 --- src/filetransfers_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filetransfers_window.py b/src/filetransfers_window.py index 3560d784c..02ecc9cb9 100644 --- a/src/filetransfers_window.py +++ b/src/filetransfers_window.py @@ -567,7 +567,7 @@ _('Connection with peer cannot be established.')) (file_path, file_name) = os.path.split(file_props['file-name']) else: file_name = file_props['name'] - text_props = file_name + '\n' + text_props = gtkgui_helpers.escape_for_pango_markup(file_name) + '\n' text_props += contact.get_shown_name() self.model.set(iter, 1, text_labels, 2, text_props, C_SID, file_props['type'] + file_props['sid'])