Misleading comments in django.http.multipartparser.py
There are a number of comments in the file presumably left over from before the refactoring work. The patch simply removes some and rewords a few others.
- file_upload_dir isn't mentioned anywhere apart from in the comment. I guess that the upload handlers are now meant to deal with this.
The upload parser does also seem to be missing some error handling. It doesn't appear to check that it has parsed the same number of bytes as the specified content length and it certainly doesn't throw any sort of error if the input data is empty.
The patch is against r8047.
Change History
(8)
Component: |
Uncategorized → HTTP handling
|
milestone: |
→ 1.1
|
Triage Stage: |
Unreviewed → Ready for checkin
|
Owner: |
changed from nobody to Gary Wilson
|
Status: |
new → assigned
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Comments patch