[issue12529] cgi.parse_header fails on double quotes and semicolons

2011-10-20 Thread Roundup Robot
Roundup Robot 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 for Issue12529 and Issue12604 http

[issue12529] cgi.parse_header fails on double quotes and semicolons

2011-10-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the patch, Petri and Ben.Darnell. -- nosy: +orsenthil ___ Python tracker ___ ___ Python

[issue12529] cgi.parse_header fails on double quotes and semicolons

2011-10-19 Thread Roundup Robot
Roundup Robot 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 Kumaran in branch 'default': default -

[issue12529] cgi.parse_header fails on double quotes and semicolons

2011-10-19 Thread Roundup Robot
Roundup Robot 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 stage: patch review -> committed

[issue12529] cgi.parse_header fails on double quotes and semicolons

2011-07-15 Thread Petri Lehtinen
Petri Lehtinen 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: -> patch review

[issue12529] cgi.parse_header fails on double quotes and semicolons

2011-07-10 Thread R. David Murray
R. David Murray 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 _

[issue12529] cgi.parse_header fails on double quotes and semicolons

2011-07-10 Thread Ben Darnell
New submission from Ben Darnell : 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"') ('form-data', {'name': '