changeset 305:5ed08461ab7d

trying to fix xmlrpc not working on cgi due to setup_args call eating POST data imported from: moin--main--1.5--patch-309
author Thomas Waldmann <tw@waldmann-edv.de>
date Sat, 10 Dec 2005 22:10:11 +0000
parents 7fbc90baf520
children 4e5e4fc9f7fa
files MoinMoin/request.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request.py	Sat Dec 10 11:57:35 2005 +0000
+++ b/MoinMoin/request.py	Sat Dec 10 22:10:11 2005 +0000
@@ -134,7 +134,8 @@
             #self.form = {}
 
             # MOVED: this was in run() method, but moved here for auth module being able to use it
-            self.args = self.form = self.setup_args()
+            if not self.query_string.startswith('action=xmlrpc'):
+                self.args = self.form = self.setup_args()
 
             rootname = u''
             self.rootpage = Page(self, rootname, is_rootpage=1)