bpo-27777: fix cgi.FieldStorage parsing for body with Content-Length and no Content-Disposition by ar45 · Pull Request #21457 · python/cpython
added 4 commits
July 13, 2020 00:55…ent-Length and no Content-Disposition - If content length is present, read at most len bytes. - When reading `read_lines_to_eof` use `read` instead of `readline`. - Use `self.__write` even when content length is present and > 1000.
Renamed `test_fieldstorage_readline` to `test_fieldstorage_read` and test `read` instead of `readline` since we use `read`.
ar45
changed the title
Issue27777
bpo-27777
ar45
mentioned this pull request
merwok
changed the title
bpo-27777
bpo-27777: fix cgi.FieldStorage parsing for body with Content-Length and no Content-Disposition
rr
mannequin
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters