[X2Go-Commits] python-x2go.git - brokerclient (branch) updated: 0.1.1.3-2-gf83ed02

X2Go dev team git-admin at x2go.org
Tue Jan 7 16:20:48 CET 2014


The branch, brokerclient has been updated
       via  f83ed022b958f589b0cbb4438256d59ed772d5fc (commit)
      from  0a5516e496d1c1fe9ee4ae06e69fac9242bcdd1a (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                  |    2 +-
 x2go/backends/terminal/_stdout.py |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 8d9dea2..6ba386e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
 python-x2go (0.1.1.4-0~x2go1) UNRELEASED; urgency=low
 
   * New upstream version (0.1.1.4):
-    - nothing yet
+    - bugfix for x2gmountdirs calls that occurred if the client username contained blanks.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 06 Jul 2011 22:16:01 +0200
 
diff --git a/x2go/backends/terminal/_stdout.py b/x2go/backends/terminal/_stdout.py
index 24fc74e..88ff516 100644
--- a/x2go/backends/terminal/_stdout.py
+++ b/x2go/backends/terminal/_stdout.py
@@ -642,7 +642,7 @@ class X2goTerminalSessionSTDOUT(object):
                          'x2gomountdirs', 
                          'dir',
                          str(self.session_info.name), 
-                         _CURRENT_LOCAL_USER,
+                         '"%s"' % _CURRENT_LOCAL_USER,
                          _x2go_key_fname,
                          '%s__REVERSESSH_PORT__%s; ' % (folder_name, self.session_info.sshfs_port),
                          'rm -f %s %s.ident' % (_x2go_key_fname, _x2go_key_fname), 
@@ -654,7 +654,7 @@ class X2goTerminalSessionSTDOUT(object):
                          'x2gomountdirs', 
                          'dir',
                          str(self.session_info.name), 
-                         _CURRENT_LOCAL_USER,
+                         '"%s"' % _CURRENT_LOCAL_USER,
                          _x2go_key_fname,
                          '%s__PRINT_SPOOL___REVERSESSH_PORT__%s; ' % (folder_name, self.session_info.sshfs_port),
                          'rm -f %s %s.ident' % (_x2go_key_fname, _x2go_key_fname), 
@@ -666,7 +666,7 @@ class X2goTerminalSessionSTDOUT(object):
                          'x2gomountdirs', 
                          'dir',
                          str(self.session_info.name), 
-                         _CURRENT_LOCAL_USER,
+                         '"%s"' % _CURRENT_LOCAL_USER,
                          _x2go_key_fname,
                          '%s__MIMEBOX_SPOOL___REVERSESSH_PORT__%s; ' % (folder_name, self.session_info.sshfs_port),
                          'rm -f %s %s.ident' % (_x2go_key_fname, _x2go_key_fname), 


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

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 "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list