From: Carlos Garcia Campos Date: Wed, 7 Oct 2009 16:27:00 +0000 (+0200) Subject: [shell] Escape uri before showing it in progress area X-Git-Tag: EVINCE_2_29_1~55 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=f48de2df96a3de3ce431162970ffe8f54409d44e;p=evince.git [shell] Escape uri before showing it in progress area See bgo#597691. --- 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);