The branch, master has been updated via b4e7402e2483aaba7674a1ddec143cce39166394 (commit) from 812f568ea0251b35355b634db67b6528d20d9203 (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 b4e7402e2483aaba7674a1ddec143cce39166394 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Mar 6 10:07:51 2013 +0100 Revert "Add patch: parse-body_on_post-method-requests.patch, parse body parameters on POST method requests." This reverts commit 812f568ea0251b35355b634db67b6528d20d9203. ----------------------------------------------------------------------- Summary of changes: debian/changelog | 7 ------- .../parse-body_on_post-method-requests.patch | 20 -------------------- debian/patches/series | 1 - 3 files changed, 28 deletions(-) delete mode 100644 debian/patches/parse-body_on_post-method-requests.patch The diff of changes is: diff --git a/debian/changelog b/debian/changelog index 6404285..39bba34 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,3 @@ -python-tornado (2.3-2~bpo60+x2go1) UNRELEASED; urgency=low - - * Add patch: parse-body_on_post-method-requests.patch, parse body parameters - on POST method requests. - - -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Wed, 06 Mar 2013 01:08:57 +0100 - python-tornado (2.3-2~bpo60) squeeze; urgency=low * Non-maintainer upload. diff --git a/debian/patches/parse-body_on_post-method-requests.patch b/debian/patches/parse-body_on_post-method-requests.patch deleted file mode 100644 index ed65316..0000000 --- a/debian/patches/parse-body_on_post-method-requests.patch +++ /dev/null @@ -1,20 +0,0 @@ -Description: Scan request.body and handle POSTed parameters similarly to QUERY_STRING parameters -Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> -diff --git a/tornado/wsgi.py b/tornado/wsgi.py -index e0b11d3..11d9448 100644 ---- a/tornado/wsgi.py -+++ b/tornado/wsgi.py -@@ -134,6 +134,13 @@ class HTTPRequest(object): - int(self.headers["Content-Length"])) - else: - self.body = "" -+ if self.body: -+ self.uri += "?" + self.body -+ arguments = parse_qs_bytes(native_str(self.body)) -+ for name, values in arguments.iteritems(): -+ values = [v for v in values if v] -+ if values: -+ self.arguments[name] = values - self.protocol = environ["wsgi.url_scheme"] - self.remote_ip = environ.get("REMOTE_ADDR", "") - if environ.get("HTTP_HOST"): diff --git a/debian/patches/series b/debian/patches/series index 7196e09..a26c790 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,2 @@ ignore-ca-certificates.patch certs-path.patch -parse-body_on_post-method-requests.patch hooks/post-receive -- python-tornado.git (python-tornado upstream project) 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-tornado.git" (python-tornado upstream project).