[X2Go-Commits] x2goserver.git - build-baikal (branch) updated: 4.0.0.7-14-g78e482f
X2Go dev team
git-admin at x2go.org
Mon Jan 6 18:22:02 CET 2014
The branch, build-baikal has been updated
via 78e482fabf51d1e0099951f3191f7cfa6e24e21c (commit)
from 11e1776012df80891d7a2277dec27ce742329af8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 9 +++++++++
x2goserver/bin/x2gostartagent | 2 ++
2 files changed, 11 insertions(+)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 74c54ae..7f70984 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+x2goserver (4.0.0.9-0x2go1) UNRELEASED; urgency=low
+
+ * New upstream version (4.0.0.9):
+ - Sanitize session name in x2gostartagent, as well. Fixes problems
+ with custom session commands containing characters that get
+ sanitized out.
+
+ -- Mike Gabriel <mga at listrac.informatik.uni-kiel.de> Mon, 06 Jan 2014 12:35:24 +0100
+
x2goserver (4.0.0.8-0x2go1) unstable; urgency=low
* New upstream version (4.0.0.8):
diff --git a/x2goserver/bin/x2gostartagent b/x2goserver/bin/x2gostartagent
index e137368..8c5bc21 100755
--- a/x2goserver/bin/x2gostartagent
+++ b/x2goserver/bin/x2gostartagent
@@ -156,6 +156,8 @@ while [ "$OUTPUT" != "inserted" ]; do
if [ "$COLORDEPTH" != "" ]; then
SESSION_NAME="${SESSION_NAME}_st${SESSION_TYPE}${X2GO_CMD}_dp${COLORDEPTH}"
SESSION_NAME=`echo "$SESSION_NAME" | sed -e "s/:/PP/g"`
+ # sanitize session name
+ SESSION_NAME=`echo "$SESSION_NAME" | sed -e "s/[^a-zA-Z0-9\_\-]//g"`
fi
OUTPUT=`$X2GO_LIB_PATH/x2goinsertsession "$X2GO_PORT" "$HOSTNAME" "$SESSION_NAME"`
fi
hooks/post-receive
--
x2goserver.git (X2Go Server)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2Go Server).
More information about the x2go-commits
mailing list