diff options
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/cgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -506,7 +506,7 @@ class FieldStorage: if self.headers.has_key('content-length'): try: clen = int(self.headers['content-length']) - except: + except ValueError: pass if maxlen and clen > maxlen: raise ValueError, 'Maximum content length exceeded' |