diff --git a/Python/dawgie/fe/__init__.py b/Python/dawgie/fe/__init__.py index 9671706e..be5012fb 100644 --- a/Python/dawgie/fe/__init__.py +++ b/Python/dawgie/fe/__init__.py @@ -127,12 +127,13 @@ def __init__ (self, name): return def getChild (self, path, request): + msg = request.uri.decode() if os.environ.get('DAWGIE_FE_DEBUG','') else 'DAWGIE_FE_DEBUG' return twisted.web.resource.ErrorPage(404, 'Could not locate requested URI', '

%(my_name)s.getChild().name: %(name)s
%(my_name)s.getChild().request.uri: %(uri)s

' % {'my_name':self.__name, 'name': path.decode(), - 'uri':request.uri.decode()}) + 'uri':msg}) pass class StaticContent(twisted.web.resource.Resource):