changeset 3232:005153087ebc

newaccount action: fixed form submission, use absolute url
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 09 Mar 2008 23:01:35 +0100
parents df7bde127d24
children 5e120e903ad5
files MoinMoin/action/newaccount.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/newaccount.py	Sun Mar 09 22:30:31 2008 +0100
+++ b/MoinMoin/action/newaccount.py	Sun Mar 09 23:01:35 2008 +0100
@@ -93,7 +93,7 @@
 
 def _create_form(request):
     _ = request.getText
-    url = request.page.url(request)
+    url = request.page.url(request, relative=False)
     ret = html.FORM(action=url)
     ret.append(html.INPUT(type='hidden', name='action', value='newaccount'))
     lang_attr = request.theme.ui_lang_attr()