diff MoinMoin/macro/__init__.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 a16ba90d1f7e
children 5cb80bd604b4
line wrap: on
line diff
--- a/MoinMoin/macro/__init__.py	Mon Feb 04 10:17:58 2008 +0100
+++ b/MoinMoin/macro/__init__.py	Tue Feb 05 21:22:56 2008 +0100
@@ -299,7 +299,7 @@
         """
         _ = self._
         html = [
-            u'<form method="get" action="">',
+            u'<form method="get" action="%s/%s"><div>' % (self.request.getScriptname(), wikiutil.quoteWikinameURL(self.formatter.page.page_name)),
             u'<div>',
             u'<input type="hidden" name="action" value="goto">',
             u'<input type="text" name="target" size="30">',