[issue8846] cgi.py bug report + fix: tailing carriage return and newline characters in multipart cgi input broken

Andre Wobst report at bugs.python.org
Fri May 28 22:54:40 CEST 2010


New submission from Andre Wobst <wobsta at users.sourceforge.net>:

There are serious bugs in carriage return and newline handling at the end of a multipart cgi input. The enclosed patch extends the test_cgi.py (and actually reverts two wrong tests to what they had been for python2.x). Additionally, the bugs are fixed by two small corrections to cgi.py and email/feedparser.py. Thanks for consideration.

----------
components: Library (Lib)
files: fix-cgi.patch
keywords: patch
messages: 106691
nosy: wobsta
priority: normal
severity: normal
status: open
title: cgi.py bug report + fix: tailing carriage return and newline characters in multipart cgi input broken
versions: Python 3.3
Added file: http://bugs.python.org/file17487/fix-cgi.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8846>
_______________________________________


More information about the Python-bugs-list mailing list