From f48de2df96a3de3ce431162970ffe8f54409d44e Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 7 Oct 2009 18:27:00 +0200 Subject: [PATCH] [shell] Escape uri before showing it in progress area See bgo#597691. --- shell/ev-window.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shell/ev-window.c b/shell/ev-window.c index f76d5af6..d41c8476 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1560,7 +1560,9 @@ show_loading_progress (EvWindow *ev_window) if (ev_window->priv->message_area) return FALSE; - display_name = g_uri_unescape_string (ev_window->priv->uri, NULL); + text = g_uri_unescape_string (ev_window->priv->uri, NULL); + display_name = g_markup_escape_text (text, -1); + g_free (text); text = g_strdup_printf (_("Loading document from “%s”"), display_name); -- 2.43.5