bpo-27777: cgi.FieldStorage can't parse simple body with Cont…#11764
bpo-27777: cgi.FieldStorage can't parse simple body with Cont…#11764ar45 wants to merge 3 commits into
Conversation
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for your contribution, we look forward to reviewing it! |
…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`.
|
@auvipy I updated. passes now. |
Added mention of FieldStorage
|
The test added in PR #10771 does not pass with this PR: The tests fails with The attr |
|
Superseded by #21457 |
…ent-Length and no Content-Disposition
read_lines_to_eofusereadinstead ofreadline.self.__writeeven when content length is present and > 1000.https://bugs.python.org/issue27777