[Zope-Checkins] CVS: Zope2 - http_server.py:1.28
shane@digicool.com
shane@digicool.com
Mon, 2 Jul 2001 15:44:27 -0400 (EDT)
Update of /cvs-repository/Zope2/ZServer/medusa
In directory korak.digicool.com:/tmp/cvs-serv2807
Modified Files:
http_server.py
Log Message:
Corrected handling of invalid requests.
--- Updated File http_server.py in package Zope2 --
--- http_server.py 2001/07/02 13:48:46 1.27
+++ http_server.py 2001/07/02 19:44:26 1.28
@@ -717,7 +717,7 @@
def crack_request (r):
m = REQUEST.match (r)
- if m.end() == len(r):
+ if m is not None and m.end() == len(r):
if m.group(3):
version = m.group(5)
else: