changeset 4178:e24aa7996f9f

Removed calls to request.getPathinfo
author Florian Krupicka <florian.krupicka@googlemail.com>
date Wed, 18 Jun 2008 16:14:42 +0200
parents 632696c3c78d
children 00a4837da41a
files MoinMoin/userform/login.py MoinMoin/userprefs/oid.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/userform/login.py	Wed Jun 18 16:00:34 2008 +0200
+++ b/MoinMoin/userform/login.py	Wed Jun 18 16:14:42 2008 +0200
@@ -34,7 +34,7 @@
         _ = self._
         request = self.request
         sn = request.script_root
-        pi = request.getPathinfo()
+        pi = request.path
         action = u"%s%s" % (sn, pi)
         hints = []
         for authm in request.cfg.auth:
--- a/MoinMoin/userprefs/oid.py	Wed Jun 18 16:00:34 2008 +0200
+++ b/MoinMoin/userprefs/oid.py	Wed Jun 18 16:14:42 2008 +0200
@@ -151,7 +151,7 @@
 
     def _make_form(self):
         sn = self.request.script_root
-        pi = self.request.getPathinfo()
+        pi = self.request.path
         action = u"%s%s" % (sn, pi)
         _form = html.FORM(action=action)
         _form.append(html.INPUT(type="hidden", name="action", value="userprefs"))