Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset cfc545e028e0 by Senthil Kumaran in branch '3.2':
News entry for Issue12529 and Issue12604
http://hg.python.org/cpython/rev/cfc545e028e0
New changeset 52a4e899966c by Senthil Kumaran in branch 'default':
News entry
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 489237756488 by Senthil Kumaran in branch '2.7':
Fix closes Issue12529 - cgi.parse_header failure on double quotes and
http://hg.python.org/cpython/rev/489237756488
--
nosy: +python-dev
resolution: - fixed
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f5bd78b11275 by Senthil Kumaran in branch '3.2':
3.2 - Fix closes Issue12529 - cgi.parse_header failure on double quotes and
http://hg.python.org/cpython/rev/f5bd78b11275
New changeset 8564d2b240b6 by Senthil
Senthil Kumaran sent...@uthcode.com added the comment:
Thanks for the patch, Petri and Ben.Darnell.
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12529
___
Petri Lehtinen pe...@digip.org added the comment:
Attached a patch against 2.7. It adds Ben's example as a test case, and his
one-line change to the _parseparam helper function to fix the issue.
--
components: +Library (Lib)
keywords: +needs review, patch
nosy: +petri.lehtinen
stage:
New submission from Ben Darnell ben.darn...@gmail.com:
cgi.parse_header doesn't work on headers that contain combinations of double
quotes and semicolons (although it works with either type of character
individually).
cgi.parse_header('form-data; name=files; filename=fo\\o;bar')
R. David Murray rdmur...@bitdance.com added the comment:
The email module header parser handles this correctly (if you make it a real
header). For whatever that's worth :)
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org