From: Michael Tremer Date: Thu, 27 Nov 2008 23:13:50 +0000 (+0100) Subject: Fixed plusses in query string. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=728dfc548bc430771374a5921e5b40c7bb7147dd;p=ipfire.org.git Fixed plusses in query string. --- diff --git a/source/dlhandler.py b/source/dlhandler.py index cda2f832..614a64c0 100644 --- a/source/dlhandler.py +++ b/source/dlhandler.py @@ -162,6 +162,9 @@ class PatchObject(SourceObject): return "text/plain" #self.blob.mime_type # main() +os.environ["QUERY_STRING"] = \ + os.environ["QUERY_STRING"].replace("+", "%2b") + path = cgi.FieldStorage().getfirst('path') ver = cgi.FieldStorage().getfirst('ver')