summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authormatthewbelisle-wf <matthew.belisle@workiva.com>2018-10-19 10:52:59 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-10-19 10:52:59 (GMT)
commit209144831b0a19715bda3bd72b14a3e6192d9cc1 (patch)
tree872e8d5460807aaf6f02b72a0c3b8f4202739ba2 /Misc
parentf081fd83032be48aefdb1bbcc38ab5deb03785d5 (diff)
downloadcpython-209144831b0a19715bda3bd72b14a3e6192d9cc1.zip
cpython-209144831b0a19715bda3bd72b14a3e6192d9cc1.tar.gz
cpython-209144831b0a19715bda3bd72b14a3e6192d9cc1.tar.bz2
bpo-34866: Adding max_num_fields to cgi.FieldStorage (GH-9660)
Adding `max_num_fields` to `cgi.FieldStorage` to make DOS attacks harder by limiting the number of `MiniFieldStorage` objects created by `FieldStorage`.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-10-03-11-07-28.bpo-34866.ML6KpJ.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-10-03-11-07-28.bpo-34866.ML6KpJ.rst b/Misc/NEWS.d/next/Library/2018-10-03-11-07-28.bpo-34866.ML6KpJ.rst
new file mode 100644
index 0000000..90c146c
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-10-03-11-07-28.bpo-34866.ML6KpJ.rst
@@ -0,0 +1,2 @@
+Adding ``max_num_fields`` to ``cgi.FieldStorage`` to make DOS attacks harder by
+limiting the number of ``MiniFieldStorage`` objects created by ``FieldStorage``.