[glib/glib-2-52] gosxappinfo: fix typo in url_escape_hostname



commit 311d740f9054968fa41a9543213bc8d23668ca47
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Wed Mar 15 08:37:10 2017 +0100

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gosxappinfo.c b/gio/gosxappinfo.c
index 564ae2c..d62dfc0 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]