Message220159
Actually, the problem is cgi.py around line 550:
clen = -1
if 'content-length' in self.headers:
try:
clen = int(self.headers['content-length'])
except ValueError:
pass
if maxlen and clen > maxlen:
raise ValueError('Maximum content length exceeded')
self.length = clen
if self.limit is None and clen:
self.limit = clen
… so self.limit ends up being -1 instead of None. :-/
Somebody please change this test to
if self.limit is None and clen >= 0: |
|
Date |
User |
Action |
Args |
2014-06-10 10:17:42 | smurfix | set | recipients:
+ smurfix, srittau |
2014-06-10 10:17:42 | smurfix | set | messageid: <1402395462.29.0.534927410269.issue20504@psf.upfronthosting.co.za> |
2014-06-10 10:17:42 | smurfix | link | issue20504 messages |
2014-06-10 10:17:41 | smurfix | create | |
|