[issue27777] cgi.FieldStorage can't parse simple body with Content-Length and no Content-Disposition

2020-07-13 Thread Aron Podrigal
Change by Aron Podrigal : -- pull_requests: +20604 pull_request: https://github.com/python/cpython/pull/21457 ___ Python tracker <https://bugs.python.org/issue27

[issue27777] cgi.FieldStorage can't parse simple body with Content-Length and no Content-Disposition

2019-02-05 Thread Aron Podrigal
Aron Podrigal added the comment: A different approach. Always honor content length, and do not try to read more than. -- ___ Python tracker <https://bugs.python.org/issue27

[issue27777] cgi.FieldStorage can't parse simple body with Content-Length and no Content-Disposition

2019-02-05 Thread Aron Podrigal
Aron Podrigal added the comment: I am experiencing the same issue. https://github.com/python/cpython/pull/10771 looks good. While were at it, and if PR 10771 is accepted, maybe we can change https://github.com/python/cpython/blob/6613b56173d26f32da9945691ff9f824304224a2/Lib/cgi.py#L717