From oceanosoftlapalma@gmail.com  Thu Oct  3 08:43:49 2013
Received: (at submit) by bugs.x2go.org; 3 Oct 2013 06:43:50 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	HTML_MESSAGE,T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173])
	by ymir (Postfix) with ESMTPS id 234B93BDED
	for <submit@bugs.x2go.org>; Thu,  3 Oct 2013 08:43:49 +0200 (CEST)
Received: by mail-ve0-f173.google.com with SMTP id cz12so1400488veb.4
        for <submit@bugs.x2go.org>; Wed, 02 Oct 2013 23:43:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=kDNbDH63K6Bs3o8jF7FlOyLx/3wFXmQnQd+nlL9tszY=;
        b=hD4v/+M0Zgko8PMKfDweV8qOr4eVXrt6J0j1ZQUjPkenzvhGIV28wCEkqsNgSWFgMI
         NrzFbfyAQg3Uubynp+Nyi/P/vHQ5pZaECkagRk/p5TjddJiHik2CLAnFZ9eIwsBaxDsG
         xdhEy08Bt7XrHmGro0AKhjsyQnRlb8uTP8lG1VXCwJAoj1I2NX2Ry0FdQ2sc3vzjBrsW
         PiqhiXnettxlpwTLK7d1ZIue9j4ehK4CloRr2ff78uaGJWhnjqniPEjQDsqYKT4xxvfz
         hcsHW9EXPWLtghpQ8A/Lm2tjz9utMlRnDoLY+RzcHn+moOSYTF6VGEFt28/ifrOr+Lvi
         u8sA==
MIME-Version: 1.0
X-Received: by 10.52.64.143 with SMTP id o15mr4981748vds.16.1380782627707;
 Wed, 02 Oct 2013 23:43:47 -0700 (PDT)
Received: by 10.58.33.168 with HTTP; Wed, 2 Oct 2013 23:43:47 -0700 (PDT)
Date: Thu, 3 Oct 2013 08:43:47 +0200
Message-ID: <CAPWth0KFpvqU6bwYGYdfzd1tg+03J4yWx+L4F09VbCnwsvc1pA@mail.gmail.com>
Subject: host and user fields in settings widget must be trimmed
From: =?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?= <oceanosoftlapalma@gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/mixed; boundary=20cf307761530979a704e7d0829e

--20cf307761530979a704e7d0829e
Content-Type: multipart/alternative; boundary=20cf307761530979a204e7d0829c

--20cf307761530979a204e7d0829c
Content-Type: text/plain; charset=UTF-8

Package: x2goclient
Version: 4.1.0
Tag: patch

Hi,

I got a related issue this week supporting a user. I gave him the new ip
for remote x2go host and he did a copy/paste from Skype to host field in
x2goclient. He did a mistake adding blank space after host ip. So when he
tried to connect ssh host key verification began a infinite loop asking for
accept new ssh key for the ip+blank space.

It was very difficult to debug. The tip was doing cat to know_host file you
could see [xxx.xxx.xxx.xxx ] <- extra blank space after last ip group.

--20cf307761530979a204e7d0829c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Package: x2goclient</div><div>Version: 4.1.0</div><di=
v>Tag: patch</div><div><br></div><div>Hi,</div><div><br></div><div>I got a =
related issue this week supporting a user. I gave him the new ip for remote=
 x2go host and he did a copy/paste from Skype to host field in x2goclient. =
He did a mistake adding blank space after host ip. So when he tried to conn=
ect ssh host key verification began a infinite loop asking for accept new s=
sh key for the ip+blank space.</div>
<div><br></div><div>It was very difficult to debug. The tip was doing cat t=
o know_host file you could see [xxx.xxx.xxx.xxx ] &lt;- extra blank space a=
fter last ip group.</div></div>

--20cf307761530979a204e7d0829c--
--20cf307761530979a704e7d0829e
Content-Type: application/octet-stream; 
	name="0001-host-and-usernam-are-now-trimmed-when-read-save.patch"
Content-Disposition: attachment; 
	filename="0001-host-and-usernam-are-now-trimmed-when-read-save.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hmblkd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91c2VyIiwKLSAgICAgICAgICAgICAgICAgICAgICAgICAoIFFW
YXJpYW50ICkgUVN0cmluZzo6bnVsbCApLnRvU3RyaW5nKCkgKTsKKyAgICAgICAgICAgICAgICAg
ICAgICAgICAoIFFWYXJpYW50ICkgUVN0cmluZzo6bnVsbCApLnRvU3RyaW5nKCkudHJpbW1lZCgp
ICk7CiAgICAga2V5LT5zZXRUZXh0ICggc3Quc2V0dGluZygpLT52YWx1ZSAoCiAgICAgICAgICAg
ICAgICAgICAgICAgIHNlc3Npb25JZCsiL2tleSIsCiAgICAgICAgICAgICAgICAgICAgICAgICgg
UVZhcmlhbnQgKSBRU3RyaW5nOjpudWxsICkudG9TdHJpbmcoKSApOwpAQCAtNzY3LDkgKzc2Nyw5
IEBAIHZvaWQgU2Vzc2lvbldpZGdldDo6c2F2ZVNldHRpbmdzKCkKICAgICBzdC5zZXR0aW5nKCkt
PnNldFZhbHVlICggc2Vzc2lvbklkKyIvaWNvbiIsCiAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICggUVZhcmlhbnQgKSBzZXNzSWNvbiApOwogICAgIHN0LnNldHRpbmcoKS0+c2V0VmFsdWUg
KCBzZXNzaW9uSWQrIi9ob3N0IiwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKCBRVmFy
aWFudCApIHNlcnZlci0+dGV4dCgpICk7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICgg
UVZhcmlhbnQgKSBzZXJ2ZXItPnRleHQoKS50cmltbWVkKCkgKTsKICAgICBzdC5zZXR0aW5nKCkt
PnNldFZhbHVlICggc2Vzc2lvbklkKyIvdXNlciIsCi0gICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICggUVZhcmlhbnQgKSB1bmFtZS0+dGV4dCgpICk7CisgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICggUVZhcmlhbnQgKSB1bmFtZS0+dGV4dCgpLnRyaW1tZWQoKSApOwogCiAgICAgc3Qu
c2V0dGluZygpLT5zZXRWYWx1ZSAoIHNlc3Npb25JZCsiL2tleSIsCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICggUVZhcmlhbnQgKSBrZXktPnRleHQoKSApOwotLSAKMS44LjEuMgoK
--20cf307761530979a704e7d0829e--

