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


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 21 Aug 2015 12:54:03 +0000
From sedutom@sduval.com  Fri Aug 21 14:54:01 2015
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)
Subject: The X2Go client does not like some special character in password 
     like £
From: "Sebastien" <sedutom@sduval.com>
To: submit@bugs.x2go.org
Reply-To: sedutom@sduval.com
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: Sun Nov 24 02:08:03 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.