[X2Go-Commits] x2goserver.git - build-main (branch) updated: 4.0.1.9-46-g4c62b38

X2Go dev team git-admin at x2go.org
Mon Jan 6 18:28:29 CET 2014


The branch, build-main has been updated
       via  4c62b385033f4b5e909367596c54b19ee869edb9 (commit)
      from  0b67dd24d737a1a13d83b9ebe1d429480a754fba (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 e5869f4..9012f3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -172,6 +172,15 @@ x2goserver (4.0.1.0-0~x2go1) unstable; urgency=low
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Fri, 07 Jun 2013 23:07:40 +0200
 
+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 2c2534e..cd82f27 100755
--- a/x2goserver/bin/x2gostartagent
+++ b/x2goserver/bin/x2gostartagent
@@ -166,6 +166,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