changeset 5772:f3262beca6b1

include page name in password reset URL (thanks to Marwan Gedeon for the patch) Works better if only some URLs are forwarded (proxied) to a wiki, but e.g. the url_root is not proxied - so we play safe and just use the current URL.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 24 Mar 2011 17:50:59 +0100
parents a8dec8a9071c
children 34fb41293eab
files MoinMoin/user.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/user.py	Fri Mar 18 22:25:36 2011 +0100
+++ b/MoinMoin/user.py	Thu Mar 24 17:50:59 2011 +0100
@@ -1051,7 +1051,7 @@
 """) % (
                         self.name,
                         tok,
-                        self._request.url_root,
+                        self._request.url, # use full url, including current page
                         url_quote_plus(self.name),
                         tok, )