diff MoinMoin/action/SpellCheck.py @ 3040:8608b258f8e6

bug fix of MoinMoinBugs/MoveAttachmentNotWorkingWithModPython (thanks to Boleslaw Kulbabinski) (ported from 1.6)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 05 Feb 2008 21:22:56 +0100
parents d0d9fbc0f0ee
children 9c6900a92a64
line wrap: on
line diff
--- a/MoinMoin/action/SpellCheck.py	Mon Feb 04 10:17:58 2008 +0100
+++ b/MoinMoin/action/SpellCheck.py	Tue Feb 05 21:22:56 2008 +0100
@@ -187,8 +187,8 @@
 
         # add a form containing the bad words
         if own_form:
-            msg = msg + ('<form method="post" action="">\n'
-                         '<input type="hidden" name="action" value="%s">\n') % action_name
+            msg = msg + ('<form method="post" action="%s/%s">\n'
+                         '<input type="hidden" name="action" value="%s">\n') % (request.getScriptname(), wikiutil.quoteWikinameURL(page.page_name), action_name)
 
         checkbox = '<input type="checkbox" name="newwords" value="%(word)s">%(word)s&nbsp;&nbsp;'
         msg = msg + (