Ticket #9140: mutlipart_post_bug_fix.diff
File mutlipart_post_bug_fix.diff, 457 bytes (added by , 16 years ago) |
---|
-
django/http/multipartparser.py
77 77 # For now set it to 0; we'll try again later on down. 78 78 content_length = 0 79 79 80 if content_length < =0:80 if content_length < 0: 81 81 # This means we shouldn't continue...raise an error. 82 82 raise MultiPartParserError("Invalid content length: %r" % content_length)