This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository libx2goclient. commit 04971015ffb923e38fe3fe5ff707551c3b06f236 Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Aug 31 23:27:37 2019 +0200 src/x2goclient-network-ssh.c: allow colons in alias/FQDN specs. --- src/x2goclient-network-ssh.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/x2goclient-network-ssh.c b/src/x2goclient-network-ssh.c index b7c1ee3..41abff7 100644 --- a/src/x2goclient-network-ssh.c +++ b/src/x2goclient-network-ssh.c @@ -426,8 +426,11 @@ static GSocketAddress* x2goclient_network_ssh_parse_sockspec_alias (const GStrin /* * For FQDN or alias addresses (like for IPv4 addresses), we'll accept any * input of the form address:port. + * + * Note that we explicitly allow embedded colons, so only the last one will + * be regarded as the port separator. */ - tmp_end = g_strstr_len (tmp_start, -1, ":"); + tmp_end = g_strrstr_len (tmp_start, -1, ":"); if (tmp_end) { address = g_string_new_len (tmp_start, tmp_end - tmp_start); -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git