Ticket #2715: flash8fix.patch

File flash8fix.patch, 498 bytes (added by frederik@…, 18 years ago)

Adds an extra carriage return to the raw_message in parse_file_upload

  • django/http/__init__.py

     
    4848    from cgi import parse_header
    4949    raw_message = '\r\n'.join(['%s:%s' % pair for pair in header_dict.items()])
    5050    raw_message += '\r\n\r\n' + post_data
     51    raw_message += '\r\n'
    5152    msg = email.message_from_string(raw_message)
    5253    POST = MultiValueDict()
    5354    FILES = MultiValueDict()
Back to Top