[Xfce4-commits] <midori:master> Unescape URLs with spaces, not only with %
Christian Dywan
noreply at xfce.org
Sun Jan 30 21:38:02 CET 2011
Updating branch refs/heads/master
to 5acdb5516d5d6960b91a404a4431f56698cc9c16 (commit)
from adf1f3c25b831d267df7ed3f1253658d434bac16 (commit)
commit 5acdb5516d5d6960b91a404a4431f56698cc9c16
Author: Paweł Forysiuk <tuxator at o2.pl>
Date: Sun Jan 30 21:37:06 2011 +0100
Unescape URLs with spaces, not only with %
midori/sokoke.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/midori/sokoke.c b/midori/sokoke.c
index 0e39ce8..61ff935 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, "+");
More information about the Xfce4-commits
mailing list