[X2go-Commits] python-x2go.git - release/0.1.1.x (branch) updated: 0.1.1.4-23-gaaea664

X2go dev team git-admin at x2go.org
Fri Sep 9 14:47:05 CEST 2011


The branch, release/0.1.1.x has been updated
       via  aaea664fff61becb7e1666e2fa16d3db71200447 (commit)
      from  20a8605bddc3da4b9635ec6532f90c9a972f84ac (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 -----------------------------------------------------------------
commit aaea664fff61becb7e1666e2fa16d3db71200447
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Sep 9 14:47:19 2011 +0200

    Fix for executing commands with arguments that contain a slash (thanks to Dick Kniep for digging this out).

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                  |    2 ++
 x2go/backends/terminal/_stdout.py |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index af4ca74..b1630d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ python-x2go (0.1.1.5-0~x2go1) UNRELEASED; 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 918898a..28fe55e 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])
 


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