This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Matthew Belisle
Recipients Matthew Belisle
Date 2018-10-19.18:36:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539974216.92.0.788709270274.issue35028@psf.upfronthosting.co.za>
In-reply-to
Content
The cgi.FieldStorage class added in https://github.com/python/cpython/pull/9660 has an off by one error in the logic for recursively nested objects. The problem is that sub_max_num_fields should be initialized outside of the while loop, not inside of it. Adding a unit test to cover this case.

Note: This problem does not exist in the 2.7 backport in https://github.com/python/cpython/pull/9969.
History
Date User Action Args
2018-10-19 18:36:56Matthew Belislesetrecipients: + Matthew Belisle
2018-10-19 18:36:56Matthew Belislesetmessageid: <1539974216.92.0.788709270274.issue35028@psf.upfronthosting.co.za>
2018-10-19 18:36:56Matthew Belislelinkissue35028 messages
2018-10-19 18:36:56Matthew Belislecreate