diff MoinMoin/request/request_modpython.py @ 3209:799875c9fe2d

when setting up the request.form dict, make all request methods consistently use keep_blank_values=1 (see cgi.FieldStorage)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 07 Mar 2008 02:03:19 +0100
parents ea78a739b5ad
children 91d38a790d8e
line wrap: on
line diff
--- a/MoinMoin/request/request_modpython.py	Fri Mar 07 01:28:34 2008 +0100
+++ b/MoinMoin/request/request_modpython.py	Fri Mar 07 02:03:19 2008 +0100
@@ -81,7 +81,7 @@
         duplicate the conversion code.
         """
         from mod_python import util
-        form = util.FieldStorage(self.mpyreq)
+        form = util.FieldStorage(self.mpyreq, keep_blank_values=1) # by default this evaluates query string AND body POST data!
 
         args = {}