diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-07-07 22:06:32 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-07-07 22:06:32 +0000 |
| commit | 9dabd1f8ff7760f28bd1dcfa8b83ae6b1c0b79aa (patch) | |
| tree | 2d87553e045e57e83fd18279a2fffb503b61b044 /django/http | |
| parent | 72544950e198c08ac49ba9d878ea7440313b13a7 (diff) | |
Fixed #7651: uploading multiple files with the same name now work. Also, in order to test the problem the test client now handles uploading multiple files at once. Patch from Mike Axiak.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/http')
| -rw-r--r-- | django/http/multipartparser.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/http/multipartparser.py b/django/http/multipartparser.py index 8bed5681cf..fc48aa9e7b 100644 --- a/django/http/multipartparser.py +++ b/django/http/multipartparser.py @@ -136,6 +136,7 @@ class MultiPartParser(object): # since we cannot be sure a file is complete until # we hit the next boundary/part of the multipart content. self.handle_file_complete(old_field_name, counters) + old_field_name = None try: disposition = meta_data['content-disposition'][1] |
