X2Go Bug report logs - #926
The X2Go client does not like some special character in password like £

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: sedutom@sduval.com

Date: Fri, 21 Aug 2015 12:55:02 UTC

Severity: normal

Found in version 4.0.5.0

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#926: The X2Go client does not like some special character in password      like £
Reply-To: sedutom@sduval.com, 926@bugs.x2go.org
Resent-From: "Sebastien" <sedutom@sduval.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 21 Aug 2015 12:55:02 +0000
Resent-Message-ID: <handler.926.B.14401616434539@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 926
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.14401616434539
          (code B); Fri, 21 Aug 2015 12:55:02 +0000
Received: (at submit) by bugs.x2go.org; 21 Aug 2015 12:54:03 +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=0.1 required=5.0 tests=BAYES_00,FORM_FRAUD,
	T_FILL_THIS_FORM_FRAUD_PHISH,T_FILL_THIS_FORM_SHORT,URIBL_BLOCKED,XPRIO
	autolearn=no version=3.3.2
X-Greylist: delayed 8629 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Fri, 21 Aug 2015 14:54:01 CEST
Received: from hostingsmtp.register.it (hostingsmtp56.register.it [81.88.56.16])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 9AB1E5DA86
	for <submit@bugs.x2go.org>; Fri, 21 Aug 2015 14:54:01 +0200 (CEST)
Received: from massenet07.register.it ([81.88.51.137])
	by paganini34 with 
	id 7Qu01r01A2xcgyx01Qu0pJ; Fri, 21 Aug 2015 14:54:01 +0200
Received: from popuser by massenet07.register.it with local (Exim 4.69)
	(envelope-from <sedutom@sduval.com>)
	id 1ZSlpY-0003gG-UL
	for submit@bugs.x2go.org; Fri, 21 Aug 2015 14:54:00 +0200
Received: from 195.99.165.130
        (SquirrelMail authenticated user sedutom@sduval.com)
        by webmail-fr.webapps.net with HTTP;
        Fri, 21 Aug 2015 14:54:00 +0200 (CEST)
Message-ID: <475d201b0e4d7905cd375d5f54256c3a.squirrel@webmail-fr.webapps.net>
Date: Fri, 21 Aug 2015 14:54:00 +0200 (CEST)
From: "Sebastien" <sedutom@sduval.com>
To: submit@bugs.x2go.org
User-Agent: SquirrelMail/1.4.17
MIME-Version: 1.0
Content-Type: multipart/mixed;boundary="----=_20150821145400_74304"
X-Priority: 3 (Normal)
Importance: Normal
X-RID: bSt06GQjcw==|bStjJyglduhkcw==|MF3gJyz54Cejoycso+A=|TElBTUJFVw==
[Message part 1 (text/plain, inline)]
Package: x2goclient
Version: 4.0.5.0
When I try to connect to a remore session where the password contains some
rare special characters (like £). The server reject the password (even if
it is the correct one).

I've looked at the code and it seems that the problem is the usage of
QString::toAsci. I attach a patch where I convert all of them to
QString::toUtf8, it seems that it solves the problem.

I've managed to build the client with Qt 5.4.2 on Centos 7.1 so the patch
also contains some changes that get rid of the obsolete Qt methods and
replace them with the new advised ones. This patch is against a snapshot
of the master branch of the 12th of August 2015.

Best regards,
Sebastien

[patch.diff (text/x-patch, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 16:33:59 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.