From: Paweł Forysiuk Date: Sun, 30 Jan 2011 20:37:06 +0000 (+0100) Subject: Unescape URLs with spaces, not only with % X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5acdb5516d5d6960b91a404a4431f56698cc9c16;p=midori Unescape URLs with spaces, not only with % --- 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, "+");