Ticket #15496: django-base64-upload-patch.diff
File django-base64-upload-patch.diff, 667 bytes (added by , 14 years ago) |
---|
-
django/http/multipartparser.py
diff -urN Django-1.2.3-py2.6.egg.dist/django/http/multipartparser.py Django-1.2.3-py2.6.egg/django/http/multipartparser.py
old new 145 145 continue 146 146 147 147 transfer_encoding = meta_data.get('content-transfer-encoding') 148 if transfer_encoding is not None: 149 transfer_encoding = transfer_encoding[0].strip() 148 150 field_name = force_unicode(field_name, encoding, errors='replace') 149 151 150 152 if item_type == FIELD: