changeset 4242:f61dcab20a3e

Reverted use of Href in Page.url (breaks querystrings)
author Florian Krupicka <florian.krupicka@googlemail.com>
date Tue, 22 Jul 2008 21:02:07 +0200
parents c27f6cb0892e
children e116e90ffdec
files MoinMoin/Page.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/Page.py	Tue Jul 22 20:38:33 2008 +0200
+++ b/MoinMoin/Page.py	Tue Jul 22 21:02:07 2008 +0200
@@ -755,7 +755,7 @@
             url = '%s?%s' % (url, querystr)
 
         if not relative:
-            url = request.href(url)
+            url = '%s/%s' % (request.script_root, url)
 
         # Add anchor
         if anchor: