~mdw
/
hippotat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hippotatd: do not crash on some unexpected requests
[hippotat]
/
hippotatd
diff --git
a/hippotatd
b/hippotatd
index
40f4c69
..
8fb0e0c
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
# 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):
class IphttpResource(NotStupidResource):
def render_POST(self, request):