[issue1610654] cgi.py multipart/form-data
Rishi
report at bugs.python.org
Tue Dec 9 15:44:04 CET 2014
Rishi added the comment:
There is indeed a test failure that occurs without the patch. This is a new test I had added.
The reason is that in the existing implementation, when a boundary does not exist, the implementation does not include the trailing CRLF, LF or for that matter CR as part of the payload. I think that is not correct.
However, to keep this patch compatible with behavior of existing implementation I have updated the patch to strip a single CRLF, LR or CR from the payload if a boundary is not found.
----------
Added file: http://bugs.python.org/file37399/issue1610654_4.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1610654>
_______________________________________
More information about the Python-bugs-list
mailing list