Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-34866: Add max_num_fields to cgi.FieldStorage (GH-9660) (GH-9969) | matthewbelisle-wf | 2018-10-30 | 1 | -0/+55 |
| | | | | | | Adding `max_num_fields` to `cgi.FieldStorage` to make DOS attacks harder by limiting the number of `MiniFieldStorage` objects created by `FieldStorage`. (cherry picked from commit 209144831b0a19715bda3bd72b14a3e6192d9cc1) | ||||
* | Backed out changeset 7d2018774925 | 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 #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵ | Serhiy Storchaka | 2014-02-08 | 1 | -1/+1 |
| | | | | tests. | ||||
* | Adding test coverage for cgi.FieldStorage based on the scenario mentioned in ↵ | Senthil Kumaran | 2014-01-12 | 1 | -0/+10 |
| | | | | issue #19097 | ||||
* | 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. | ||||
* | Fix closes Issue14281 - Test for cgi.escape by Brian Landers | Senthil Kumaran | 2012-03-13 | 1 | -0/+5 |
| | |||||
* | Fix closes Issue12529 - cgi.parse_header failure on double quotes and | Senthil Kumaran | 2011-10-19 | 1 | -0/+3 |
| | | | | semicolons. Patch by Ben Darnell and Petri Lehtinen. | ||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -2/+2 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | Issue 7832: renaming unittest.TestCase.assertSameElements to ↵ | Michael Foord | 2010-03-20 | 1 | -9/+9 |
| | | | | assertItemsEqual and changing behaviour | ||||
* | Fix and check cgi module deprecation warnings. Revert an unwanted rename in ↵ | Florent Xicluna | 2010-03-17 | 1 | -5/+6 |
| | | | | test_import. | ||||
* | Cleanup some test cases using check_warnings and check_py3k_warnings. | Florent Xicluna | 2010-03-17 | 1 | -4/+4 |
| | |||||
* | #7092: silence more -3 and -Wd warnings | Ezio Melotti | 2010-01-31 | 1 | -23/+20 |
| | |||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -1/+1 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -1/+1 |
| | | | | Patch by flox | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -5/+5 |
| | |||||
* | Issue #1055234: cgi.parse_header(): Fixed parsing of header parameters to | Fred Drake | 2008-12-04 | 1 | -0/+26 |
| | | | | | support unusual filenames (such as those containing semi-colons) in Content-Disposition headers. | ||||
* | Issue 3801. Fixing a dumb error in the deprecated parse_qsl() | Facundo Batista | 2008-09-08 | 1 | -0/+11 |
| | | | | function. Tests added. | ||||
* | Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module | Facundo Batista | 2008-09-03 | 1 | -22/+0 |
| | | | | | to the urlparse one. Added a PendingDeprecationWarning in the old module, it will be deprecated in the future. Docs and tests updated. | ||||
* | Now a from submitted via POST that also has a query string | Facundo Batista | 2008-06-21 | 1 | -0/+88 |
| | | | | | | will contain both FieldStorage and MiniFieldStorage items. Fixes #1817. | ||||
* | Convert test_cgi to unittest. | Georg Brandl | 2006-10-29 | 1 | -125/+135 |
| | |||||
* | Whitespace normalization broke test_cgi, because a line | Tim Peters | 2006-08-10 | 1 | -2/+2 |
| | | | | | | of quoted test data relied on preserving a single trailing blank. Changed the string from raw to regular, and forced in the trailing blank via an explicit \x20 escape. | ||||
* | Whitespace normalization. | Tim Peters | 2006-08-10 | 1 | -1/+1 |
| | |||||
* | Chris McDonough's patch to defend against certain DoS attacks on FieldStorage. | Guido van Rossum | 2006-08-10 | 1 | -0/+69 |
| | | | | SF bug #1112549. | ||||
* | Removed use of 'cgi.initlog()' - the first call to cgi.log is actually | Anthony Baxter | 2004-08-03 | 1 | -1/+0 |
| | | | | | an initlog() (and initlog()'s docstring says "don't use this"!) This allows test_cgi to be run repeatedly in a single run of the interpreter. | ||||
* | Don't return spurious empty fields if 'keep_empty_values' is True. | Neil Schemenauer | 2004-07-19 | 1 | -2/+21 |
| | | | | Fixes SF bug #990307. | ||||
* | Complete the absolute import patch for the test suite. All relative | Barry Warsaw | 2002-07-30 | 1 | -1/+1 |
| | | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed. | ||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -27/+28 |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Fix a bizarre typo in the helper class ComparableException: the | Guido van Rossum | 2001-01-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | __getattr__() method, which clearly (like the other methods) was intended to pass the __getattr__() call on to the self.err object, mistakenly returned getattr(self, self.err) rather than getattr(self.err, attr). Since self.err is not a string, this always raises a TypeError. Apparently that doesn't bother for the one attribute for which __getattr__() is actually called ('__coerce__'), but it broke the rich comparisons stuff that I'm trying to get into shape, so I'm fixing this now. (I could also simply remove the __getattr__() method, but fixing it seems more in the spirit of what the ComparableException class is trying to do.) | ||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -3/+3 |
| | |||||
* | fix bug #110661 (PR#356) -- accept either & or ; as separator for CGI | Jeremy Hylton | 2000-09-15 | 1 | -0/+5 |
| | | | | | | query string also some doc string reformatting and use of string methods instead of older string.splitfields | ||||
* | Closing patch #101120 -- After everyone agreed. | Moshe Zadka | 2000-08-25 | 1 | -3/+13 |
| | |||||
* | test the non-multipart sections of the cgi module | Jeremy Hylton | 2000-08-03 | 1 | -0/+172 |