From: Fredrik Tolf Date: Sat, 23 Oct 2010 06:21:30 +0000 (+0200) Subject: python: Fixed QUERY_STRING bug in ashd-wsgi. X-Git-Tag: 0.4~13 X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=8498ab28d28bf9c04a3e97be9fc606e18c327a9c python: Fixed QUERY_STRING bug in ashd-wsgi. --- diff --git a/python/ashd-wsgi b/python/ashd-wsgi index dc3bc91..beb39ca 100755 --- a/python/ashd-wsgi +++ b/python/ashd-wsgi @@ -50,8 +50,8 @@ def dowsgi(req): name = req.url p = name.find('?') if p >= 0: - name = name[:p] env["QUERY_STRING"] = name[p + 1:] + name = name[:p] else: env["QUERY_STRING"] = "" if name[-len(req.rest):] == req.rest: