Senthil Kumaran
a5ba05cd31
Merged revisions 83901 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83901 | senthil.kumaran | 2010-08-10 01:31:35 +0530 (Tue, 10 Aug 2010) | 3 lines
Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Changes in Modules.
........
2010-08-09 20:18:04 +00:00
Florent Xicluna
78c1871d21
Fix and check cgi module deprecation warnings. Revert an unwanted rename in test_import.
2010-03-17 20:05:11 +00:00
Benjamin Peterson
afa595b31b
revert r78842 cgi.py change
2010-03-11 22:03:45 +00:00
Benjamin Peterson
651bc32a4e
use proper shebang lines
2010-03-11 21:53:25 +00:00
Ezio Melotti
ef4909643d
#7092 : silence more -3 and -Wd warnings
2010-01-31 11:46:54 +00:00
Philip Jenvey
d846f1d4c2
#4351 : more appropriate DeprecationWarning stacklevels
2009-05-08 02:28:39 +00:00
Fred Drake
5248103ef9
Issue #1055234 : cgi.parse_header(): Fixed parsing of header parameters to
...
support unusual filenames (such as those containing semi-colons) in
Content-Disposition headers.
2008-12-04 18:25:17 +00:00
Facundo Batista
ace0bcf669
Issue 3801. Fixing a dumb error in the deprecated parse_qsl()
...
function. Tests added.
2008-09-08 00:20:28 +00:00
Facundo Batista
c585df9476
Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
...
to the urlparse one. Added a PendingDeprecationWarning in the old
module, it will be deprecated in the future. Docs and tests updated.
2008-09-03 22:35:50 +00:00
Brett Cannon
1eaf0742d8
Move test.test_support.catch_warning() to the warnings module, rename it
...
catch_warnings(), and clean up the API.
While expanding the test suite, a bug was found where a warning about the
'line' argument to showwarning() was not letting functions with '*args' go
without a warning.
Closes issue 3602.
Code review by Benjamin Peterson.
2008-09-02 01:25:16 +00:00
Brett Cannon
721b1457a0
Silence DeprecationWarning raised by mimetools and rfc822 in cgi.
2008-08-16 22:00:27 +00:00
Facundo Batista
a6a4d50efe
Now a from submitted via POST that also has a query string
...
will contain both FieldStorage and MiniFieldStorage items.
Fixes #1817 .
2008-06-21 18:58:04 +00:00
Georg Brandl
aff85e2d26
Patch #1541463 : optimize performance of cgi.FieldStorage operations.
2007-09-20 16:06:07 +00:00
Georg Brandl
05b3c450a8
Bug #1457823 : cgi.(Sv)FormContentDict's constructor now takes
...
keep_blank_values and strict_parsing keyword arguments.
2006-09-30 10:58:01 +00:00
Guido van Rossum
9568b738ec
Chris McDonough's patch to defend against certain DoS attacks on FieldStorage.
...
SF bug #1112549 .
2006-08-10 17:41:07 +00:00
Armin Rigo
3a703b6059
Reverted revision 1.83, which introduced a bug and subtle incompatibility
...
issues. See bug #1112856 .
2005-09-19 09:11:04 +00:00
Skip Montanaro
97b2fa229c
Bring cgi.escape docstring slightly more in line with the library ref
...
manual. Closes #1243553 .
2005-08-02 02:50:25 +00:00
Johannes Gijsbers
c7fc10a418
Patch #1079734 : remove dependencies on (deprecated) rfc822 and mimetools
...
modules, replacing with email. Thanks to Josh Hoyt for the patch!
2005-01-08 13:56:36 +00:00
Raymond Hettinger
f871d833dd
Remove some lambdas.
2004-12-31 21:59:02 +00:00
Raymond Hettinger
a617271dbd
Use cStringIO where available.
2004-12-31 19:15:26 +00:00
Johannes Gijsbers
9e15dd6861
Let cgi.parse_header() properly unquote headers (patch #1008597 ).
2004-08-14 15:39:34 +00:00
Neil Schemenauer
66edb6295f
Don't return spurious empty fields if 'keep_empty_values' is True.
...
Fixes SF bug #990307 .
2004-07-19 15:38:11 +00:00
Brett Cannon
8d9b60f102
Change parse_qsl() to accept control-name's with no equal sign (e.g., "name")
...
when keep_blank_values is true.
2004-03-21 22:16:15 +00:00
Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
...
From SF patch #852334 .
2004-02-12 17:35:32 +00:00
Guido van Rossum
68468eba63
Get rid of many apply() calls.
2003-02-27 20:14:51 +00:00