changeset 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 1da5c7d21660
children 3a7c9b0a6ae4
files MoinMoin/action/info.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: