From c20ab772b16e374500f9bf8a588518ead069df48 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Wed, 15 Mar 2017 08:37:10 +0100 Subject: [PATCH] gosxappinfo: fix typo in url_escape_hostname This duplicated everything after the hostname. https://bugzilla.gnome.org/show_bug.cgi?id=734946 --- gio/gosxappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);