diff MoinMoin/action/info.py @ 4660:f4e386e03434

fix quoting for pagehits stats (info action) - was not working for pagenames with blanks
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 24 Mar 2009 00:42:36 +0100
parents 817d99d715fe
children 757aad5a56ff
line wrap: on
line diff
--- a/MoinMoin/action/info.py	Mon Mar 16 22:39:33 2009 +0100
+++ b/MoinMoin/action/info.py	Tue Mar 24 00:42:36 2009 +0100
@@ -218,7 +218,7 @@
 
     if show_hitcounts:
         from MoinMoin.stats import hitcounts
-        request.write(hitcounts.linkto(pagename, request, 'page=' + wikiutil.url_quote_plus(pagename)))
+        request.write(hitcounts.linkto(pagename, request, 'page=' + wikiutil.url_quote(pagename)))
     elif show_general:
         general(page, pagename, request)
     else: