diff MoinMoin/action/newpage.py @ 3432:0b56ed4808a6

action.newpage, macro.NewPage: changed to POST
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 29 Mar 2008 23:17:59 +0100
parents 7f44c25af462
children 21d9d7529304
line wrap: on
line diff
--- a/MoinMoin/action/newpage.py	Sat Mar 29 22:28:46 2008 +0100
+++ b/MoinMoin/action/newpage.py	Sat Mar 29 23:17:59 2008 +0100
@@ -96,5 +96,8 @@
 
 def execute(pagename, request):
     """ Temporary glue code for current moin action system """
+    if request.request_method != 'POST':
+        return False, u''
+
     return NewPage(request, pagename).render()