Commit cfb1589b authored by root's avatar root

Auth fix jessie

parent beeda3a6
......@@ -38,7 +38,7 @@ class PublicCategories(AnonymousAuth):
sys.stderr.write("Getting page from cache")
page = request.page
else:
pagename=unicode(urllib.unquote(p.path[1:]),'utf-8')
pagename=urllib.unquote(p.path[1:])
if pagename.endswith(u'/'):
pagename=pagename[:-1]
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