<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/cgi.py, branch 3.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/cgi.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/cgi.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2021-02-15T18:15:02Z</updated>
<entry>
<title>[3.8] bpo-42967: only use '&amp;' as a query string separator (GH-24297)  (#24529)</title>
<updated>2021-02-15T18:15:02Z</updated>
<author>
<name>Senthil Kumaran</name>
<email>senthil@uthcode.com</email>
</author>
<published>2021-02-15T18:15:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e3110c3cfbb7daa690d54d0eff6c264c870a71bf'/>
<id>urn:sha1:e3110c3cfbb7daa690d54d0eff6c264c870a71bf</id>
<content type='text'>
* bpo-42967: only use '&amp;' as a query string separator (#24297)

bpo-42967: [security] Address a web cache-poisoning issue reported in
urllib.parse.parse_qsl().

urllib.parse will only us "&amp;" as query string separator by default
instead of both ";" and "&amp;" as allowed in earlier versions. An optional
argument seperator with default value "&amp;" is added to specify the
separator.

Co-authored-by: Éric Araujo &lt;merwok@netwok.org&gt;
Co-authored-by: blurb-it[bot] &lt;43283697+blurb-it[bot]@users.noreply.github.com&gt;
Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;
Co-authored-by: Éric Araujo &lt;merwok@netwok.org&gt;
(cherry picked from commit fcbe0cb04d35189401c0c880ebfb4311e952d776)

* [3.8] bpo-42967: only use '&amp;' as a query string separator (GH-24297)

bpo-42967: [security] Address a web cache-poisoning issue reported in urllib.parse.parse_qsl().

urllib.parse will only us "&amp;" as query string separator by default instead of both ";" and "&amp;" as allowed in earlier versions. An optional argument seperator with default value "&amp;" is added to specify the separator.

Co-authored-by: Éric Araujo &lt;merwok@netwok.org&gt;
Co-authored-by: blurb-it[bot] &lt;43283697+blurb-it[bot]@users.noreply.github.com&gt;
Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;
Co-authored-by: Éric Araujo &lt;merwok@netwok.org&gt;.
(cherry picked from commit fcbe0cb04d35189401c0c880ebfb4311e952d776)

Co-authored-by: Adam Goldschmidt &lt;adamgold7@gmail.com&gt;

* Update correct version information.

* fix docs and make logic clearer

Co-authored-by: Adam Goldschmidt &lt;adamgold7@gmail.com&gt;
Co-authored-by: Fidget-Spinner &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-34226: fix cgi.parse_multipart without content_length (GH-8530)</title>
<updated>2020-06-15T15:51:35Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-06-15T15:51:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c72b7f703eec45c1f4006bf5f65092daedaec46e'/>
<id>urn:sha1:c72b7f703eec45c1f4006bf5f65092daedaec46e</id>
<content type='text'>
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.
(cherry picked from commit d8cf3514dd4682419a66f6e834bb384ee34afc95)

Co-authored-by: roger &lt;rogerduran@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… (GH-10638)</title>
<updated>2019-09-11T12:09:23Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-11T12:09:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e3bd941e4e6f4465f17a0e5a4a6bdf4ea0afdd0d'/>
<id>urn:sha1:e3bd941e4e6f4465f17a0e5a4a6bdf4ea0afdd0d</id>
<content type='text'>
* 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
(cherry picked from commit 2d7cacacc310b65b43e7e2de89e7722291dea6a4)

Co-authored-by: Pierre Quentel &lt;pierre.quentel@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-35028: cgi: Fix max_num_fields off by one error (GH-9973)</title>
<updated>2018-10-23T08:14:35Z</updated>
<author>
<name>matthewbelisle-wf</name>
<email>matthew.belisle@workiva.com</email>
</author>
<published>2018-10-23T08:14:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b79b5c09493e98374e48fa122d82dab528fc6e72'/>
<id>urn:sha1:b79b5c09493e98374e48fa122d82dab528fc6e72</id>
<content type='text'>
https://bugs.python.org/issue35028</content>
</entry>
<entry>
<title>bpo-34866: Adding max_num_fields to cgi.FieldStorage (GH-9660)</title>
<updated>2018-10-19T10:52:59Z</updated>
<author>
<name>matthewbelisle-wf</name>
<email>matthew.belisle@workiva.com</email>
</author>
<published>2018-10-19T10:52:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=209144831b0a19715bda3bd72b14a3e6192d9cc1'/>
<id>urn:sha1:209144831b0a19715bda3bd72b14a3e6192d9cc1</id>
<content type='text'>
Adding `max_num_fields` to `cgi.FieldStorage` to make DOS attacks harder by
limiting the number of `MiniFieldStorage` objects created by `FieldStorage`.</content>
</entry>
<entry>
<title>bpo-33843: Remove deprecated stuff in cgi module (GH-7662)</title>
<updated>2018-06-19T08:28:50Z</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2018-06-19T08:28:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=698865dcbb302ae742b76be883822f1563764ff9'/>
<id>urn:sha1:698865dcbb302ae742b76be883822f1563764ff9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-33497: Add errors param to cgi.parse_multipart and make an encoding in FieldStorage use the given errors (GH-6804)</title>
<updated>2018-05-14T22:11:55Z</updated>
<author>
<name>Amber Brown</name>
<email>hawkowl@atleastfornow.net</email>
</author>
<published>2018-05-14T22:11:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=545c955be997efd6b3827b981024e6b9945d82d1'/>
<id>urn:sha1:545c955be997efd6b3827b981024e6b9945d82d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-29979: Rewrite cgi.parse_multipart to make it consistent with FieldStorage (#991)</title>
<updated>2017-05-08T12:08:34Z</updated>
<author>
<name>Pierre Quentel</name>
<email>pierre.quentel@gmail.com</email>
</author>
<published>2017-05-08T12:08:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cc3fa204d357be5fafc10eb8c2a80fe0bca998f1'/>
<id>urn:sha1:cc3fa204d357be5fafc10eb8c2a80fe0bca998f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263)</title>
<updated>2017-04-24T06:05:00Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-24T06:05:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e576f5aec1f8f23f07001e2eb3db9276851a4fc'/>
<id>urn:sha1:2e576f5aec1f8f23f07001e2eb3db9276851a4fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27105: Add cgi.test() to __all__, based on Jacek Kołodziej’s patch</title>
<updated>2016-06-06T01:53:28Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-06-06T01:53:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1cd277224685654a82489881f90d93a32571b7b2'/>
<id>urn:sha1:1cd277224685654a82489881f90d93a32571b7b2</id>
<content type='text'>
</content>
</entry>
</feed>
