<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/urllib/parse.py, branch 3.7</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/urllib/parse.py?h=3.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/urllib/parse.py?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2023-06-05T04:02:03Z</updated>
<entry>
<title>[3.7] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-104896)</title>
<updated>2023-06-05T04:02:03Z</updated>
<author>
<name>stratakis</name>
<email>cstratak@redhat.com</email>
</author>
<published>2023-06-05T04:02:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d28bafa2d3e424b6fdcfd7ae7cde8e71d7177369'/>
<id>urn:sha1:d28bafa2d3e424b6fdcfd7ae7cde8e71d7177369</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).

(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>[3.7] bpo-43882 - urllib.parse should sanitize urls containing ASCII newline and tabs. (GH-25923)</title>
<updated>2021-05-06T16:52:36Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-05-06T16:52:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f4dac7ec55477a6c5d965e594e74bd6bda786903'/>
<id>urn:sha1:f4dac7ec55477a6c5d965e594e74bd6bda786903</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;
(cherry picked from commit 515a7bc4e13645d0945b46a8e1d9102b918cd407)

Co-authored-by: Miss Islington (bot) &lt;31488909+miss-islington@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>[3.7] bpo-42967: only use '&amp;' as a query string separator (GH-24297)  (GH-24531)</title>
<updated>2021-02-15T18:34:14Z</updated>
<author>
<name>Senthil Kumaran</name>
<email>senthil@uthcode.com</email>
</author>
<published>2021-02-15T18:34:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d0d4d30882fe3ab9b1badbecf5d15d94326fd13e'/>
<id>urn:sha1:d0d4d30882fe3ab9b1badbecf5d15d94326fd13e</id>
<content type='text'>
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: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;
Co-authored-by: Adam Goldschmidt &lt;adamgold7@gmail.com&gt;
(cherry picked from commit fcbe0cb04d35189401c0c880ebfb4311e952d776)</content>
</entry>
<entry>
<title>Revert "bpo-27657: Fix urlparse() with numeric paths (GH-661)" (#18526)</title>
<updated>2020-02-16T21:07:25Z</updated>
<author>
<name>Senthil Kumaran</name>
<email>senthil@uthcode.com</email>
</author>
<published>2020-02-16T21:07:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=505b6015a1579fc50d9697e4a285ecc64976397a'/>
<id>urn:sha1:505b6015a1579fc50d9697e4a285ecc64976397a</id>
<content type='text'>
This reverts commit 82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f.

The change broke the backwards compatibility of parsing behavior in a
patch release of Python (3.7.6). A decision was taken to revert this
patch in 3.7.7.

In https://bugs.python.org/issue27657 it was decided that the previous
behavior like

&gt;&gt;&gt; urlparse('localhost:8080')
ParseResult(scheme='', netloc='', path='localhost:8080', params='', query='', fragment='')

&gt;&gt;&gt; urlparse('undefined:8080')
ParseResult(scheme='', netloc='', path='undefined:8080', params='', query='', fragment='')

needs to be preserved in patch releases as number of users rely upon it.

Explicitly mention the releases involved with the revert in NEWS.
Adopt the wording suggested by @ned-deily.</content>
</entry>
<entry>
<title>bpo-39057: Fix urllib.request.proxy_bypass_environment(). (GH-17619)</title>
<updated>2020-01-05T12:31:44Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-01-05T12:31:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=880a17af7d063fcef225a46b7f4ae35d792b2f11'/>
<id>urn:sha1:880a17af7d063fcef225a46b7f4ae35d792b2f11</id>
<content type='text'>
Ignore leading dots and no longer ignore a trailing newline.
(cherry picked from commit 6a265f0d0c0a4b3b8fecf4275d49187a384167f4)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-27657: Fix urlparse() with numeric paths (GH-661)</title>
<updated>2019-10-18T13:24:28Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-18T13:24:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f'/>
<id>urn:sha1:82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f</id>
<content type='text'>
* bpo-27657: Fix urlparse() with numeric paths

Revert parsing decision from bpo-754016 in favor of the documented
consensus in bpo-16932 of how to treat strings without a // to
designate the netloc.

* bpo-22891: Remove urlsplit() optimization for 'http' prefixed inputs.
(cherry picked from commit 5a88d50ff013a64fbdb25b877c87644a9034c969)

Co-authored-by: Tim Graham &lt;timograham@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-36742: Corrects fix to handle decomposition in usernames (GH-13812)</title>
<updated>2019-06-04T16:15:13Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-04T16:15:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=250b62acc59921d399f0db47db3b462cd6037e09'/>
<id>urn:sha1:250b62acc59921d399f0db47db3b462cd6037e09</id>
<content type='text'>
(cherry picked from commit 8d0ef0b5edeae52960c7ed05ae8a12388324f87e)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</content>
</entry>
<entry>
<title>bpo-36742: Fixes handling of pre-normalization characters in urlsplit() (GH-13017)</title>
<updated>2019-04-30T12:21:02Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-04-30T12:21:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4d723e76e1ad17e9e7d5e828e59bb47e76f2174b'/>
<id>urn:sha1:4d723e76e1ad17e9e7d5e828e59bb47e76f2174b</id>
<content type='text'>
(cherry picked from commit d537ab0ff9767ef024f26246899728f0116b1ec3)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</content>
</entry>
<entry>
<title>bpo-12910: update and correct quote docstring (GH-2568)</title>
<updated>2019-04-10T00:53:03Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-04-10T00:53:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=796698adf558f2255474945082856538b1effb0b'/>
<id>urn:sha1:796698adf558f2255474945082856538b1effb0b</id>
<content type='text'>
Fixes some mistakes and misleadings in the quote function docstring:
- reserved chars are never actually used by quote code, unreserved chars are
- reserved chars were wrong and incomplete
- mentioned that use-case is not minimal quoting wrt. RFC, but cautious quoting
(cherry picked from commit 750d74fac5c510e39958b3f79641fe54096ee54f)

Co-authored-by: Jörn Hees &lt;joernhees@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-36216: Add check for characters in netloc that normalize to separators (GH-12201)</title>
<updated>2019-03-07T17:08:18Z</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2019-03-07T17:08:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=daad2c482c91de32d8305abbccc76a5de8b3a8be'/>
<id>urn:sha1:daad2c482c91de32d8305abbccc76a5de8b3a8be</id>
<content type='text'>
</content>
</entry>
</feed>
