This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goserver. from 7acac87 wrap too-long-lines in changelog new 6542d44 Abort session if env var $HOME is not set or if $HOME contains non-ASCII characters. (Fixes: #397). The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 2 ++ x2goserver/bin/x2gostartagent | 6 ++++++ 2 files changed, 8 insertions(+) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 6542d44e840d7e108186f32c9420184076f9ecd9 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Aug 20 10:55:04 2014 +0200 Abort session if env var $HOME is not set or if $HOME contains non-ASCII characters. (Fixes: #397). --- debian/changelog | 2 ++ x2goserver/bin/x2gostartagent | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index a0dc43d..e0e0c5c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -195,6 +195,8 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low (Fixes: #558). - Allow length of username up to 48 characters (was: 32 characters). (Fixes: #574). + - Abort session if env var $HOME is not set or if $HOME contains non-ASCII + characters. (Fixes: #397). * debian/control, x2goserver.spec: + Update versioned D: x2goagent (>= 3.5.0.25). This assures that X2Go works with poly-instantiated /tmp directories. diff --git a/x2goserver/bin/x2gostartagent b/x2goserver/bin/x2gostartagent index 102c7f6..910eaa6 100755 --- a/x2goserver/bin/x2gostartagent +++ b/x2goserver/bin/x2gostartagent @@ -37,6 +37,12 @@ elif [ -z "$USER" ]; then elif [ -z "$SSH_CLIENT" ]; then echo "The \$SSH_CLIENT environment variable is not set. Aborting session startup." exit -3 +elif [ -z "$HOME" ]; then + echo "The \$HOME environment variable is not set. Aborting session startup." + exit -4 +elif ! echo $HOME | iconv -f ASCII -t ASCII 1>/dev/null 2>/dev/null; then + echo "Your home directory path contains non-ASCII characters. Aborting session startup." + exit -5 fi X2GO_TELEKINESIS_ENABLED=`echo 'use X2Go::Config qw( get_config ); use X2Go::Utils qw( is_true ); my $Config = get_config(); print is_true($Config->param("telekinesis.enable"));' | perl` -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git