<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/urllib, branch 3.8</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/urllib?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/urllib?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2024-09-04T15:44:22Z</updated>
<entry>
<title>[3.8] gh-67693: Fix urlunparse() and urlunsplit() for URIs with path starting with multiple slashes and no authority (GH-113563) (#119028)</title>
<updated>2024-09-04T15:44:22Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2024-09-04T15:44:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0a878121deed09879506398c97bf121a40590187'/>
<id>urn:sha1:0a878121deed09879506398c97bf121a40590187</id>
<content type='text'>
(cherry picked from commit e237b25a4fa5626fcd1b1848aa03f725f892e40e)

Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;</content>
</entry>
<entry>
<title>[3.8] gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210) (GH-116069)</title>
<updated>2024-03-19T10:53:52Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2024-03-19T10:53:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=41be376ec195d933c90a771056015a63ca128f59'/>
<id>urn:sha1:41be376ec195d933c90a771056015a63ca128f59</id>
<content type='text'>
Use of a proxy is intended to defer DNS for the hosts to the proxy itself, rather than a potential for information leak of the host doing DNS resolution itself for any reason.  Proxy bypass lists are strictly name based.  Most implementations of proxy support agree.
(cherry picked from commit c43b26d02eaa103756c250e8d36829d388c5f3be)

Co-authored-by: Weii Wang &lt;weii.wang@canonical.com&gt;</content>
</entry>
<entry>
<title>[3.8] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) (GH-104575) (GH-104592) (#104593) (#104895)</title>
<updated>2023-06-05T15:42:56Z</updated>
<author>
<name>stratakis</name>
<email>cstratak@redhat.com</email>
</author>
<published>2023-06-05T15:42:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9c2ff15b9aa9f20c2340ad69cbf2300528db9a44'/>
<id>urn:sha1:9c2ff15b9aa9f20c2340ad69cbf2300528db9a44</id>
<content type='text'>
`urllib.parse.urlsplit` has already been respecting the WHATWG spec a bit GH-25595.

This adds more sanitizing to respect the "Remove any leading C0 control or space from input" [rule](https://url.spec.whatwg.org/GH-url-parsing:~:text=Remove%20any%20leading%20and%20trailing%20C0%20control%20or%20space%20from%20input.) in response to [CVE-2023-24329](https://nvd.nist.gov/vuln/detail/CVE-2023-24329).

I simplified the docs by eliding the state of the world explanatory
paragraph in this security release only backport.  (people will see
that in the mainline /3/ docs)

(cherry picked from commit d7f8a5fe07b0ff3a419ccec434cc405b21a5a304)
(cherry picked from commit 2f630e1ce18ad2e07428296532a68b11dc66ad10)
(cherry picked from commit 610cc0ab1b760b2abaac92bd256b96191c46b941)
(cherry picked from commit f48a96a28012d28ae37a2f4587a780a5eb779946)

Co-authored-by: Miss Islington (bot) &lt;31488909+miss-islington@users.noreply.github.com&gt;
Co-authored-by: Illia Volochii &lt;illia.volochii@gmail.com&gt;
Co-authored-by: Gregory P. Smith [Google] &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>bpo-46756: Fix authorization check in urllib.request (GH-31353) (GH-31572)</title>
<updated>2022-03-02T13:50:32Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-03-02T13:50:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1c9701a3de0566c085e03dddc14a8508aaae349e'/>
<id>urn:sha1:1c9701a3de0566c085e03dddc14a8508aaae349e</id>
<content type='text'>
Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and
urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which
allowed to bypass authorization. For example, access to URI "example.org/foobar"
was allowed if the user was authorized for URI "example.org/foo".
(cherry picked from commit e2e72567a1c94c548868f6ee5329363e6036057a)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-43882 - urllib.parse should sanitize urls containing ASCII newline and tabs. (GH-25595) (#25726)</title>
<updated>2021-05-05T17:25:29Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-05-05T17:25:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=515a7bc4e13645d0945b46a8e1d9102b918cd407'/>
<id>urn:sha1:515a7bc4e13645d0945b46a8e1d9102b918cd407</id>
<content type='text'>
Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;
Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
(cherry picked from commit 76cd81d60310d65d01f9d7b48a8985d8ab89c8b4)
Co-authored-by: Senthil Kumaran &lt;senthil@uthcode.com&gt;
Co-authored-by: Senthil Kumaran &lt;skumaran@gatech.edu&gt;</content>
</entry>
<entry>
<title>bpo-42967: coerce bytes separator to string in urllib.parse_qs(l) (GH-24818) (#25345)</title>
<updated>2021-04-16T17:07:31Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-04-16T17:07:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d5b80eb11b4812b4a579ce129ba4a10c5f5d27f6'/>
<id>urn:sha1:d5b80eb11b4812b4a579ce129ba4a10c5f5d27f6</id>
<content type='text'>
* coerce bytes separator to string

* Add news

* Update Misc/NEWS.d/next/Library/2021-03-11-00-31-41.bpo-42967.2PeQRw.rst
(cherry picked from commit b38601d49675d90e1ee6faa47f7adaeca992d02d)

Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;

Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-43075: Fix ReDoS in urllib AbstractBasicAuthHandler (GH-24391)</title>
<updated>2021-04-07T11:45:05Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-04-07T11:45:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e7654b6046090914a8323931ed759a94a5f85d60'/>
<id>urn:sha1:e7654b6046090914a8323931ed759a94a5f85d60</id>
<content type='text'>
Fix Regular Expression Denial of Service (ReDoS) vulnerability in
urllib.request.AbstractBasicAuthHandler. The ReDoS-vulnerable regex
has quadratic worst-case complexity and it allows cause a denial of
service when identifying crafted invalid RFCs. This ReDoS issue is on
the client side and needs remote attackers to control the HTTP server.
(cherry picked from commit 7215d1ae25525c92b026166f9d5cac85fb1defe1)

Co-authored-by: Yeting Li &lt;liyt@ios.ac.cn&gt;</content>
</entry>
<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>Allow / character in username,password fields in _PROXY envvars. (GH-23973) (#23992)</title>
<updated>2020-12-29T13:15:14Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-12-29T13:15:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=741f22df24ca61db38b5a7a2a58b5939b7154a01'/>
<id>urn:sha1:741f22df24ca61db38b5a7a2a58b5939b7154a01</id>
<content type='text'>
(cherry picked from commit 030a713183084594659aefd77b76fe30178e23c8)

Co-authored-by: Senthil Kumaran &lt;senthil@uthcode.com&gt;</content>
</entry>
<entry>
<title>bpo-41471: Ignore invalid prefix lengths in system proxy settings on macOS (GH-22762) (GH-22774)</title>
<updated>2020-10-20T07:17:58Z</updated>
<author>
<name>Miss Skeleton (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-10-20T07:17:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e7c5a43984f82ef9634cb0b2b8c4750b2fd431a0'/>
<id>urn:sha1:e7c5a43984f82ef9634cb0b2b8c4750b2fd431a0</id>
<content type='text'>
(cherry picked from commit 93a1ccabdede416425473329b8c718d507c55e29)

Co-authored-by: Ronald Oussoren &lt;ronaldoussoren@mac.com&gt;</content>
</entry>
</feed>
