changeset 3235:4c0121050056

fix for previous changeset: this place really needs relative=True
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 10 Mar 2008 01:11:23 +0100
parents a739558ca3dc
children 6ad695ff56bc
files MoinMoin/Page.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/Page.py	Mon Mar 10 00:21:21 2008 +0100
+++ b/MoinMoin/Page.py	Mon Mar 10 01:11:23 2008 +0100
@@ -786,7 +786,7 @@
 
     def link_to_raw(self, request, text, querystr=None, anchor=None, **kw):
         """ core functionality of link_to, without the magic """
-        url = self.url(request, querystr, anchor=anchor)
+        url = self.url(request, querystr, anchor=anchor, relative=True) # scriptName is added by link_tag
         # escaping is done by link_tag -> formatter.url -> ._open()
         link = wikiutil.link_tag(request, url, text,
                                  formatter=getattr(self, 'formatter', None), **kw)