mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #15496 -- Corrected handling of base64 file upload encoding. Thanks, gene and Claude Paroz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -145,6 +145,8 @@ class MultiPartParser(object): | ||||
|                     continue | ||||
|  | ||||
|                 transfer_encoding = meta_data.get('content-transfer-encoding') | ||||
|                 if transfer_encoding is not None: | ||||
|                     transfer_encoding = transfer_encoding[0].strip() | ||||
|                 field_name = force_unicode(field_name, encoding, errors='replace') | ||||
|  | ||||
|                 if item_type == FIELD: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user