Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-104773: PEP 594: Remove cgi and cgitb modules (#104775) | Victor Stinner | 2023-05-24 | 1 | -641/+0 |
| | | | | | * Replace "cgi" with "!cgi" in the Sphinx documentation to avoid warnings on broken references. * test_pyclbr no longer tests the cgi module. | ||||
* | bpo-47061: deprecate cgi and cgitb (GH-32410) | Brett Cannon | 2022-04-09 | 1 | -1/+3 |
| | | | Part of PEP 594. | ||||
* | bpo-45874: Handle empty query string correctly in urllib.parse.parse_qsl ↵ | Christian Sattler | 2021-12-12 | 1 | -1/+1 |
| | | | | (#29716) | ||||
* | bpo-41139: Deprecate `cgi.log()` (GH-25625) | Inada Naoki | 2021-04-29 | 1 | -0/+2 |
| | |||||
* | bpo-42967: only use '&' as a query string separator (#24297) | Adam Goldschmidt | 2021-02-14 | 1 | -5/+24 |
| | | | | | | | | | | | bpo-42967: [security] Address a web cache-poisoning issue reported in urllib.parse.parse_qsl(). urllib.parse will only us "&" as query string separator by default instead of both ";" and "&" as allowed in earlier versions. An optional argument seperator with default value "&" is added to specify the separator. Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Éric Araujo <merwok@netwok.org> | ||||
* | bpo-41521: Rename blacklist parameter to not_exported (GH-21824) | Victor Stinner | 2020-08-17 | 1 | -3/+4 |
| | | | | Rename "blacklist" parameter of test.support.check__all__() to "not_exported". | ||||
* | bpo-34226: fix cgi.parse_multipart without content_length (GH-8530) | roger | 2020-06-15 | 1 | -0/+14 |
| | | | | | | | | | In Python 3.7 the behavior of parse_multipart changed requiring CONTENT-LENGTH header, this fix remove this header as required and fix FieldStorage read_lines_to_outerboundary, by not using limit when it's negative, since by default it's -1 if not content-length and keeps substracting what was read from the file object. Also added a test case for this problem. | ||||
* | bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… ↵ | Pierre Quentel | 2019-09-11 | 1 | -0/+17 |
| | | | | | | | | | | | | (#10638) * bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has no content-length header * Add Misc/NEWS.d/next file. * Add rst formatting for NEWS.d/next file * Reaplce assert by self.assertEqual | ||||
* | Remove unused imports in tests (GH-14518) | Victor Stinner | 2019-07-01 | 1 | -1/+0 |
| | |||||
* | bpo-35028: cgi: Fix max_num_fields off by one error (GH-9973) | matthewbelisle-wf | 2018-10-23 | 1 | -7/+12 |
| | | | https://bugs.python.org/issue35028 | ||||
* | bpo-34866: Adding max_num_fields to cgi.FieldStorage (GH-9660) | matthewbelisle-wf | 2018-10-19 | 1 | -0/+49 |
| | | | | Adding `max_num_fields` to `cgi.FieldStorage` to make DOS attacks harder by limiting the number of `MiniFieldStorage` objects created by `FieldStorage`. | ||||
* | bpo-33843: Remove deprecated stuff in cgi module (GH-7662) | INADA Naoki | 2018-06-19 | 1 | -24/+0 |
| | |||||
* | bpo-33497: Add errors param to cgi.parse_multipart and make an encoding in ↵ | Amber Brown | 2018-05-14 | 1 | -0/+18 |
| | | | | FieldStorage use the given errors (GH-6804) | ||||
* | bpo-29979: Rewrite cgi.parse_multipart to make it consistent with ↵ | Pierre Quentel | 2017-05-08 | 1 | -2/+2 |
| | | | | FieldStorage (#991) | ||||
* | #27364: fix "incorrect" uses of escape character in the stdlib. | R David Murray | 2016-09-08 | 1 | -1/+1 |
| | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter. | ||||
* | Issue #27105: Add cgi.test() to __all__, based on Jacek Kołodziej’s patch | Martin Panter | 2016-06-06 | 1 | -0/+6 |
| | |||||
* | (Merge 3.4) cgi.FieldStorage.read_multi ignores Content-Length | Victor Stinner | 2015-08-18 | 1 | -0/+18 |
|\ | | | | | | | | | | | Issue #24764: cgi.FieldStorage.read_multi() now ignores the Content-Length header in part headers. Patch written by Peter Landry and reviewed by Pierre Quentel. | ||||
| * | cgi.FieldStorage.read_multi ignores Content-Length | Victor Stinner | 2015-08-18 | 1 | -0/+19 |
| | | | | | | | | | | | | Issue #24764: cgi.FieldStorage.read_multi() now ignores the Content-Length header in part headers. Patch written by Peter Landry and reviewed by Pierre Quentel. | ||||
* | | merge 3.4 (#23801) | Benjamin Peterson | 2015-03-29 | 1 | -0/+19 |
|\ \ | |/ | |||||
| * | Closes #23801 - Ignore entire preamble to multipart in cgi.FieldStorage | Donald Stufft | 2015-03-29 | 1 | -0/+19 |
| | | |||||
* | | Use os.devnull instead of hardcoded '/dev/null'. | Serhiy Storchaka | 2015-02-15 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Use os.devnull instead of hardcoded '/dev/null'. | Serhiy Storchaka | 2015-02-15 | 1 | -2/+2 |
| | | |||||
* | | Issue #20289: cgi.FieldStorage() now supports the context management protocol. | Berker Peksag | 2015-02-06 | 1 | -6/+13 |
|/ | |||||
* | Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵ | Serhiy Storchaka | 2014-02-08 | 1 | -1/+1 |
| | | | | tests. | ||||
* | Issue #19092 - Raise a correct exception when cgi.FieldStorage is given an | Senthil Kumaran | 2014-01-12 | 1 | -0/+7 |
| | | | | | invalid file-obj. Also use __bool__ to determine the bool of the FieldStorage object. | ||||
* | Issue #18013: Fix cgi.FieldStorage to parse the W3C sample form. | Florent Xicluna | 2013-07-07 | 1 | -0/+46 |
| | |||||
* | Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-data | Serhiy Storchaka | 2013-06-17 | 1 | -0/+23 |
| | | | | when \r\n appears at end of 65535 bytes without other newlines. | ||||
* | merge from 3.2 | Senthil Kumaran | 2013-01-23 | 1 | -0/+18 |
|\ | | | | | | | | | Issue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and bytes data. Patch by Jonas Wagner. | ||||
| * | Issue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and | Senthil Kumaran | 2013-01-23 | 1 | -1/+20 |
| | | | | | | | | bytes data. Patch by Jonas Wagner. | ||||
* | | Silence DeprecationWarning for cgi.escape() usage in test_cgi. | Brett Cannon | 2012-04-26 | 1 | -3/+8 |
| | | |||||
* | | merge to 3.3 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers | Senthil Kumaran | 2012-03-13 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | 3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers | Senthil Kumaran | 2012-03-13 | 1 | -0/+5 |
| | | |||||
* | | default - Fix closes Issue12529 - cgi.parse_header failure on double quotes and | Senthil Kumaran | 2011-10-19 | 1 | -0/+4 |
|\ \ | |/ | | | | | semicolons. Patch by Ben Darnell and Petri Lehtinen. | ||||
| * | 3.2 - Fix closes Issue12529 - cgi.parse_header failure on double quotes and | Senthil Kumaran | 2011-10-19 | 1 | -0/+4 |
| | | | | | | | | semicolons. Patch by Ben Darnell and Petri Lehtinen. | ||||
* | | Add cgi.closelog() function to close the log file | Victor Stinner | 2011-07-14 | 1 | -7/+1 |
|/ | |||||
* | Restore the global state of the log vars, so that test_cgi can be run twice ↵ | Ezio Melotti | 2011-07-14 | 1 | -1/+7 |
| | | | | without failures. | ||||
* | Merged revisions 88700 via svnmerge from | Victor Stinner | 2011-03-01 | 1 | -24/+51 |
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88700 | victor.stinner | 2011-03-02 00:08:36 +0100 (mer., 02 mars 2011) | 3 lines Issue #10911: Add tests on CGI with non-ASCII characters Patch written by Pierre Quentel ........ | ||||
* | Merged revisions 88496 via svnmerge from | Brett Cannon | 2011-02-22 | 1 | -0/+1 |
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88496 | brett.cannon | 2011-02-21 19:14:12 -0800 (Mon, 21 Feb 2011) | 4 lines Issue #10512: close the log file in cgi when running tests. Thanks to Nadeem Vawda for the find and an initial fix. ........ | ||||
* | Issue #4953: cgi.FieldStorage and cgi.parse() parse the request as bytes, not | Victor Stinner | 2011-01-14 | 1 | -16/+17 |
| | | | | | as unicode, and accept binary files. Add encoding and errors attributes to cgi.FieldStorage. | ||||
* | Use assertCountEqual instead of assertItemsEqual | Ezio Melotti | 2010-11-29 | 1 | -1/+1 |
| | |||||
* | #9424: Replace deprecated assert* methods in the Python test suite. | Ezio Melotti | 2010-11-20 | 1 | -2/+2 |
| | |||||
* | close files properly | Benjamin Peterson | 2010-10-30 | 1 | -0/+2 |
| | |||||
* | Issue 7832. Document changes to unittest.TestCase.assertSameElements and ↵ | Michael Foord | 2010-03-20 | 1 | -1/+1 |
| | | | | assertItemsEqual | ||||
* | Merged revisions 79030-79032 via svnmerge from | Florent Xicluna | 2010-03-17 | 1 | -18/+9 |
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79030 | florent.xicluna | 2010-03-17 20:05:04 +0100 (mer, 17 mar 2010) | 2 lines Cleanup in test_import and test_coding. ........ r79031 | florent.xicluna | 2010-03-17 20:15:56 +0100 (mer, 17 mar 2010) | 2 lines Cleanup some test cases using check_warnings and check_py3k_warnings. ........ r79032 | florent.xicluna | 2010-03-17 21:05:11 +0100 (mer, 17 mar 2010) | 2 lines Fix and check cgi module deprecation warnings. Revert an unwanted rename in test_import. ........ | ||||
* | use assert[Not]In where appropriate | Benjamin Peterson | 2010-01-19 | 1 | -1/+1 |
| | | | | A patch from Dave Malcolm. | ||||
* | convert old fail* assertions to assert* | Benjamin Peterson | 2009-06-30 | 1 | -2/+2 |
| | |||||
* | Merged revisions 67528 via svnmerge from | Fred Drake | 2008-12-04 | 1 | -0/+27 |
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67528 | fred.drake | 2008-12-04 13:25:17 -0500 (Thu, 04 Dec 2008) | 4 lines Issue #1055234: cgi.parse_header(): Fixed parsing of header parameters to support unusual filenames (such as those containing semi-colons) in Content-Disposition headers. ........ | ||||
* | Added a warning filter to don't show the warning during | Facundo Batista | 2008-09-09 | 1 | -4/+13 |
| | | | | the tests. Also fixed the warning message in cgi.py | ||||
* | Added sanity checks for the deprecated parse_qs() and | Facundo Batista | 2008-09-08 | 1 | -0/+10 |
| | | | | parse_qsl() functions in cgi module. | ||||
* | Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module | Facundo Batista | 2008-09-03 | 1 | -24/+0 |
| | | | | | to the urlparse one. Added a DeprecationWarning in the old module, it will be deprecated in the future. Docs and tests updated. |