Commit 6ffb92b7 authored by Remi Oudin's avatar Remi Oudin

On corrige l'encodage pour le wiki.

On encode en ascii, et on ignore les erreurs.
parent 8089c878
......@@ -38,7 +38,7 @@ class PublicCategories(AnonymousAuth):
sys.stderr.write("Getting page from cache")
page =
pagename= urllib.unquote(p.path[1:]).encode('ascii', 'ignore')
if pagename.endswith(u'/'):
page = Page(request, pagename)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment