From 5acdb5516d5d6960b91a404a4431f56698cc9c16 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Sun, 30 Jan 2011 21:37:06 +0100 Subject: [PATCH] Unescape URLs with spaces, not only with % --- midori/sokoke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/sokoke.c b/midori/sokoke.c index 0e39ce8d..61ff935f 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -835,7 +835,7 @@ sokoke_magic_uri (const gchar* uri) gchar* sokoke_uri_unescape_string (const gchar* uri) { - if (strchr (uri,'%')) + if (strchr (uri,'%') || strchr (uri, ' ')) { /* Preserve %20 for pasting URLs into other windows */ gchar* unescaped = g_uri_unescape_string (uri, "+"); -- 2.39.5