changeset 1248:bfd2b1d5e6c0

fixed search navigation for pages with non-ascii pagenames
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 14 Aug 2006 18:02:40 +0200
parents 135aa02138b7
children a9b155a92bc2 7df93b9b320b
files MoinMoin/search/results.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/results.py	Mon Aug 14 17:26:28 2006 +0200
+++ b/MoinMoin/search/results.py	Mon Aug 14 18:02:40 2006 +0200
@@ -669,10 +669,9 @@
         f = self.formatter
 
         querydict = wikiutil.parseQueryString(self.request.query_string)
-        uri_prefix = self.request.splitURI(self.request.request_uri)[0]
         def page_url(n):
             querydict.update({'from': n * hitsPerPage})
-            return uri_prefix + '?' + wikiutil.makeQueryString(querydict)
+            return self.request.page.url(self.request, querydict, escape=0)
         
         pages = float(hitsNum) / hitsPerPage
         if pages - int(pages) > 0.0: