changeset 57:546541209681

fix remember_last_visit(ed page) root url redirect imported from: moin--main--1.5--patch-59
author Thomas Waldmann <tw@waldmann-edv.de>
date Thu, 29 Sep 2005 21:04:19 +0000
parents aedb415dc3a4
children 285ba792d278
files MoinMoin/request.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request.py	Thu Sep 29 18:47:39 2005 +0000
+++ b/MoinMoin/request.py	Thu Sep 29 21:04:19 2005 +0000
@@ -961,7 +961,7 @@
                     # Redirect to last page visited
                     if ":" in pagetrail[-1]:
                         wikitag, wikiurl, wikitail, error = wikiutil.resolve_wiki(self, pagetrail[-1]) 
-                        url = wikiurl + wikitail
+                        url = wikiurl + wikiutil.quoteWikinameURL(wikitail)
                     else:
                         url = Page(self, pagetrail[-1]).url(self)
                 else: