From: Ian Jackson Date: Mon, 24 Apr 2017 13:31:48 +0000 (+0100) Subject: hippotatd: do not crash on some unexpected requests X-Git-Tag: hippotat/1.0.0~55^2~19 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=f963d7a3638b5e3bd16ac62d037034185e6ab8a2;p=hippotat.git hippotatd: do not crash on some unexpected requests Signed-off-by: Ian Jackson --- diff --git a/hippotatd b/hippotatd index 40f4c69..8fb0e0c 100755 --- a/hippotatd +++ b/hippotatd @@ -218,7 +218,7 @@ class NotStupidResource(twisted.web.resource.Resource): # why this is not the default is a mystery! def getChild(self, name, request): if name == b'': return self - else: return twisted.web.resource.Resource.getChild(name, request) + else: return twisted.web.resource.Resource.getChild(self, name, request) class IphttpResource(NotStupidResource): def render_POST(self, request):