[X2Go-Commits] x2gobroker.git - build-main (branch) updated: 0.0.1.0-43-ge6bbdb5

X2Go dev team git-admin at x2go.org
Sun May 19 13:03:33 CEST 2013


The branch, build-main has been updated
       via  e6bbdb5bb97de5ee01cd9e659ba43f1dde5c7376 (commit)
      from  6ab6f454d8976ab5c42937e44e81ab2bf570f9e6 (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:
 x2gobroker/web/uccs.py |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

The diff of changes is:
diff --git a/x2gobroker/web/uccs.py b/x2gobroker/web/uccs.py
index 7ad0060..a17b3b9 100644
--- a/x2gobroker/web/uccs.py
+++ b/x2gobroker/web/uccs.py
@@ -47,7 +47,7 @@ class X2GoBrokerWeb(tornado.web.RequestHandler):
         if x2gobroker.defaults.X2GOBROKER_DEBUG:
             self._gen_http_header()
             logger_broker.warn('GET http request detected, if unwanted: disable X2GOBROKER_DEBUG')
-            return self.post(backend)
+            return self.head(backend)
         raise tornado.web.HTTPError(404)
 
     def head(self, backend):
@@ -77,12 +77,6 @@ class X2GoBrokerWeb(tornado.web.RequestHandler):
         if not broker_backend.is_enabled():
             raise tornado.web.HTTPError(404)
 
-        # FIXME: this is to work around a bug in X2Go Client (http://bugs.x2go.org/138)
-        content_type = self.request.headers.get("Content-Type", "")
-        if not content_type.startswith("application/x-www-form-urlencoded"):
-            for name, values in parse_qs_bytes(native_str(self.request.body)).iteritems():
-                self.request.arguments.setdefault(name, []).extend(values)
-
         # set the client address for the broker backend
         ip = self.request.remote_ip
         if ip:


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

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 "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list