changeset 5394:cbd72078ad91

xmlrpc.revertPage: convert pagename to internal representation
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 08 Dec 2009 22:36:52 +0100
parents 8fc12793ba3e
children d944c9b537dc
files MoinMoin/xmlrpc/__init__.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py	Tue Dec 08 19:11:15 2009 +0100
+++ b/MoinMoin/xmlrpc/__init__.py	Tue Dec 08 22:36:52 2009 +0100
@@ -580,6 +580,9 @@
         @return true on success
 
         """
+
+        pagename = self._instr(pagename)
+
         if not self.request.user.may.write(pagename):
             return xmlrpclib.Fault(1, "You are not allowed to edit this page")