changeset 3135:c32e054f6f83

use request.page.url for multistage continuation url to not leave current page
author Johannes Berg <johannes AT sipsolutions DOT net>
date Wed, 27 Feb 2008 15:03:16 +0100
parents 0f7a991ac974
children f272fc54b68d
files MoinMoin/auth/__init__.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/auth/__init__.py	Wed Feb 27 14:57:51 2008 +0100
+++ b/MoinMoin/auth/__init__.py	Wed Feb 27 15:03:16 2008 +0100
@@ -146,8 +146,7 @@
               'login': '1',
               'stage': auth_name}
     fields.update(extra_fields)
-    qstr = wikiutil.makeQueryString(fields)
-    return ''.join([request.getBaseURL(), '?', qstr])
+    return request.page.url(request, querystr=fields, relative=False)
 
 
 class LoginReturn(object):