This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goserver. from 403d3f1 Fix support for Cinnamon 1.4. (Fixes: #569) Update the logic for launching Cinnamon 1.6 and 1.8. Fix the logic for launching Cinnamon 2.0 and 2.2. (Fixes: #572) new 3000f81 Allow email addresses as login usernames. (Fixes: #573). 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: X2Go/Utils.pm | 6 +++--- debian/changelog | 1 + x2goserver/bin/x2gostartagent | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) -- 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 3000f81004bebf1176153066ce4eed09c75d0e29 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Mon Aug 18 14:25:11 2014 +0200 Allow email addresses as login usernames. (Fixes: #573). --- X2Go/Utils.pm | 6 +++--- debian/changelog | 1 + x2goserver/bin/x2gostartagent | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/X2Go/Utils.pm b/X2Go/Utils.pm index 41baf8b..e1e119f 100644 --- a/X2Go/Utils.pm +++ b/X2Go/Utils.pm @@ -129,10 +129,10 @@ sub sanitizer { } else {return 0;} } else {return 0;} } elsif ($type eq "x2gosid") { - $string =~ s/[^a-zA-Z0-9\_\-\$\.]//g; - if ($string =~ /^([a-zA-Z0-9\_\-\$\.]*)$/) { + $string =~ s/[^a-zA-Z0-9\_\-\$\.\@]//g; + if ($string =~ /^([a-zA-Z0-9\_\-\$\.\@]*)$/) { $string = $1; - if ($string =~ /^([a-zA-Z\_][a-zA-Z0-9\_\-\.]{0,31}[\$]?)\-([\d]{2,4})\-([\d]{9,12})\_[a-zA-Z0-9\_\-]*\_dp[\d]{1,2}$/) { + if ($string =~ /^([a-zA-Z\_][a-zA-Z0-9\_\-\.\@]{0,31}[\$]?)\-([\d]{2,4})\-([\d]{9,12})\_[a-zA-Z0-9\_\-]*\_dp[\d]{1,2}$/) { if ((length($1) > 0) and (length($1) < 32)){ return $string; } else {return 0;} diff --git a/debian/changelog b/debian/changelog index 6e341e8..81cc09c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -188,6 +188,7 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low with an error. - Silently timeout in x2golistdesktops if calls to x2golistsessions and/or xwininfo don't produce output within one second. (Fixes: #543). + - Allow email addresses as login usernames. (Fixes: #573). * 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 1dc0251..da81ae3 100755 --- a/x2goserver/bin/x2gostartagent +++ b/x2goserver/bin/x2gostartagent @@ -176,7 +176,7 @@ while [ "$OUTPUT" != "inserted" ]; do SESSION_NAME=`echo "$SESSION_NAME" | perl -pe "s/:/PP/g"` fi # sanitize session name - SESSION_NAME=`echo "$SESSION_NAME" | perl -pe "s/[^a-zA-Z0-9\.\_\-]//g"` + SESSION_NAME=`echo "$SESSION_NAME" | perl -pe "s/[^a-zA-Z0-9\.\_\-\@]//g"` if [ -n "$SHADREQ_USER" ]; then $X2GO_LIB_PATH/x2gosyslog "$0" "debug" "initializing new shadow session with ID $SESSION_NAME" -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git