Unescape URLs with spaces, not only with %
This commit is contained in:
parent
adf1f3c25b
commit
5acdb5516d
1 changed files with 1 additions and 1 deletions
|
@ -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, "+");
|
||||
|
|
Loading…
Reference in a new issue