diff --git a/gio/gosxappinfo.c b/gio/gosxappinfo.c index 564ae2c38..d62dfc0fd 100644 --- a/gio/gosxappinfo.c +++ b/gio/gosxappinfo.c @@ -203,7 +203,7 @@ url_escape_hostname (const char *url) else host = g_strdup (host_start); - hostname = g_hostname_to_ascii (host_start); + hostname = g_hostname_to_ascii (host); ret = g_strconcat (scheme, "://", hostname, host_end, NULL);