[issue18013] cgi.FieldStorage does not parse W3C sample

2013-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: Fix committed, with tests. -- resolution: -> fixed status: open -> closed versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 406ce103c170 by Florent Xicluna in branch '3.3': Issue #18013: Fix cgi.FieldStorage to parse the W3C sample form. http://hg.python.org/cpython/rev/406ce103c170 New changeset 2ab2a2bfea49 by Florent Xicluna in branch 'default': Merge #18013: Fix cgi.

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread Florent Xicluna
Florent Xicluna added the comment: This seems to fix it. -- stage: needs patch -> patch review Added file: http://bugs.python.org/file30314/patch_multipart_w3.diff ___ Python tracker ___

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread Florent Xicluna
Changes by Florent Xicluna : -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread Florent Xicluna
Florent Xicluna added the comment: At first glance it seems related to rev d864328a74e4 , issue 4953 The check on self.bytes_read >= self.length returns True because length == -1. -- nosy: +haypo ___ Python tracker

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread Florent Xicluna
New submission from Florent Xicluna: Trying to parse the W3C sample, it fails in 3.3 (while it passes on 2.7). http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4 (last example) Content-Type: multipart/form-data; boundary=AaB03x --AaB03x Content-Disposition: form-data; name="sub