[New-bugs-announce] [issue11269] cgi.FieldStorage forgets to unquote field names when parsing multipart/form-data

Sergey Schetinin report at bugs.python.org
Mon Feb 21 11:18:23 CET 2011


New submission from Sergey Schetinin <sergey at maluke.com>:

Tested on Python 2.7, but probably affects all versions. Test case is attached.

The reason this went unnoticed until now is that browsers are very conservative when quoting field names, so most field names are the same after their quoting.

Related bug in WebOb: https://bitbucket.org/ianb/webob/issue/2

----------
components: Library (Lib)
files: tcgi.py
messages: 128950
nosy: mlk
priority: normal
severity: normal
status: open
title: cgi.FieldStorage forgets to unquote field names when parsing multipart/form-data
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file20819/tcgi.py

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


More information about the New-bugs-announce mailing list