diff MoinMoin/userprefs/oid.py @ 4334:7add275cf4de

Fixed: deprecated (and missing) getBaseURL() method
author Florian Krupicka <florian.krupicka@googlemail.com>
date Sat, 04 Oct 2008 18:59:22 +0200
parents 162002d5b148
children eda647742453
line wrap: on
line diff
--- a/MoinMoin/userprefs/oid.py	Sat Sep 27 00:24:43 2008 +0200
+++ b/MoinMoin/userprefs/oid.py	Sat Oct 04 18:59:22 2008 +0200
@@ -82,7 +82,7 @@
                                              'handler': 'oid',
                                              'oid.return': '1'})
             return_to = request.getQualifiedURL(request.page.url(request, qstr))
-            trust_root = request.getBaseURL()
+            trust_root = request.url_root
             if oidreq.shouldSendRedirect():
                 redirect_url = oidreq.redirectURL(trust_root, return_to)
                 request.http_redirect(redirect_url)