[issue12411] cgi.parse_multipart is broken on 3.x

Pierre Quentel report at bugs.python.org
Mon Jul 4 22:44:03 CEST 2011


Pierre Quentel <pierre.quentel at gmail.com> added the comment:

When the FieldStorage class was fixed there was a discussion in issue 4953 about the module-level functions parse() and parse_multipart(). The code was very similar to methods of the FieldStorage class so the idea was to use FieldStorage inside the functions

The patch proposed in issue 11066 replaced the code in parse_multipart by just :

def parse_multipart(fp, pdict):
    return FieldStorage(fp,environ=pdict)

Did anyone test it ?

----------

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


More information about the Python-bugs-list mailing list