[X2Go-Dev] Bug#566: Bug#566: X2Go Client for Windows 4.0.2.1 cannon create C:\Users\<username>\ssh\known_hosts file when the local Windows account username has non-English characters
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Mon Sep 1 21:51:03 CEST 2014
Hi Mike#2,
On Mo 01 Sep 2014 19:28:50 CEST, George Trakatelis wrote:
> A suggested patch is to substitute the Qt4 toAscii() function with
> toLocal8Bit()
> in two specific places of SshMasterConnection::run().
> A git diff is as follows:
>
> $ diff /c/a/sshmasterconnection.cpp /c/b/sshmasterconnection.cpp
> 521c521
> < ssh_options_set ( my_ssh_session, SSH_OPTIONS_SSH_DIR,
> (mainWnd->getHomeDirectory()+"/ssh").toAscii());
> ---
>> ssh_options_set ( my_ssh_session, SSH_OPTIONS_SSH_DIR,
>> (mainWnd->getHomeDirectory()+"/ssh").toLocal8Bit());
> 630c630
> < ssh_options_set ( my_ssh_session, SSH_OPTIONS_SSH_DIR,
> (mainWnd->getHomeDirectory()+"/ssh").toAscii());
> ---
>> ssh_options_set ( my_ssh_session, SSH_OPTIONS_SSH_DIR,
>> (mainWnd->getHomeDirectory()+"/ssh").toLocal8Bit());
>
> The change affects only Windows builds and was tested in Windows 8.1
> Pro and Windows 7 Professional.
>
> G. Trakatelis
Can you review these changes and if appropriate commit them to the
master branch of x2goclient.git?
Thanks!
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20140901/daf89eff/attachment.pgp>
More information about the x2go-dev
mailing list