chiark
/
gitweb
/
~mdw
/
hippotat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a8ed92
)
hippotatd: do not crash on some unexpected requests
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 24 Apr 2017 13:31:48 +0000
(14:31 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 24 Apr 2017 13:31:48 +0000
(14:31 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
hippotatd
patch
|
blob
|
blame
|
history
diff --git
a/hippotatd
b/hippotatd
index 40f4c69d32ebcb0d0ab659bd76e0da44828e9e49..8fb0e0c7333163366050e2633ecff42e36be06ee 100755
(executable)
--- 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):