[X2Go-Commits] python-x2go.git - twofactorauth (branch) updated:

X2Go dev team git-admin at x2go.org
Sat Sep 14 15:57:02 CEST 2013

The branch, twofactorauth has been updated
       via  1b32dfdcb3ef10f5ccb56ee6481e28b0b6519ef8 (commit)
      from  43fdebef41f673bc7afe06759990e1c1fa88d973 (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 |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 046e34a..69fc69a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ python-x2go ( unstable; urgency=low
     - Stabilize sshfs related problems in case remote user is not in fuse group.
     - Do not ignore usekbd session profile option anymore, closes upstream issue #81.
     - Fix for X2goSession.has_terminated method.
+    - Fix for executing commands with arguments that contain a slash (thanks to Dick
+      Kniep for digging this out).
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Tue, 19 Jul 2011 20:44:30 +0200
diff --git a/x2go/backends/terminal/_stdout.py b/x2go/backends/terminal/_stdout.py
index 550038b..f27bd13 100644
--- a/x2go/backends/terminal/_stdout.py
+++ b/x2go/backends/terminal/_stdout.py
@@ -704,7 +704,7 @@ class X2goTerminalSessionSTDOUT(object):
         elif cmd and cmd.startswith('/'):
             # check if full path is correct _and_ if application is in server path
             test_cmd = 'test -x %s && which %s && echo OK' % (cmd, os.path.basename(cmd.split()[0]))
-        elif cmd and '/' not in cmd:
+        elif cmd and '/' not in cmd.split()[0]:
             # check if application is in server path only
             test_cmd = 'which %s && echo OK' % os.path.basename(cmd.split()[0])

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