changeset 1657:e8b3d979dff3

remember_last_visit fixed to use absolute url
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 01 Nov 2006 01:12:36 +0100
parents abd19aa50977
children 0dee8ba737af
files MoinMoin/request/__init__.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py	Tue Oct 31 22:46:50 2006 +0100
+++ b/MoinMoin/request/__init__.py	Wed Nov 01 01:12:36 2006 +0100
@@ -1091,10 +1091,10 @@
                         wikitag, wikiurl, wikitail, error = wikiutil.resolve_wiki(self, pagetrail[-1])
                         url = wikiurl + wikiutil.quoteWikinameURL(wikitail)
                     else:
-                        url = Page(self, pagetrail[-1]).url(self, escape=0)
+                        url = Page(self, pagetrail[-1]).url(self, escape=0, relative=False)
                 else:
                     # Or to localized FrontPage
-                    url = wikiutil.getFrontPage(self).url(self, escape=0)
+                    url = wikiutil.getFrontPage(self).url(self, escape=0, relative=False)
                 self.http_redirect(url)
                 return self.finish()