<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/http/server.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/http/server.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/http/server.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2023-05-22T10:39:50Z</updated>
<entry>
<title>[3.8] gh-104049: do not expose on-disk location from SimpleHTTPRequestHandler (GH-104067) (#104121)</title>
<updated>2023-05-22T10:39:50Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2023-05-22T10:39:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2062fce6e18caf589851f7c9ff8963cf2d48ac6b'/>
<id>urn:sha1:2062fce6e18caf589851f7c9ff8963cf2d48ac6b</id>
<content type='text'>
Do not expose the local server's on-disk location from `SimpleHTTPRequestHandler` when generating a directory index. (unnecessary information disclosure)

(cherry picked from commit c7c3a60c88de61a79ded9fdaf6bc6a29da4efb9a)

Co-authored-by: Ethan Furman &lt;ethan@stoneleaf.us&gt;
Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;
Co-authored-by: Jelle Zijlstra &lt;jelle.zijlstra@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.8] gh-100001: Omit control characters in http.server stderr logs. (GH-100002) (#100033)</title>
<updated>2022-12-06T10:20:22Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-12-06T10:20:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e43393aaacc9350116a5402e1ae5dde45daa6dfe'/>
<id>urn:sha1:e43393aaacc9350116a5402e1ae5dde45daa6dfe</id>
<content type='text'>
* gh-100001: Omit control characters in http.server stderr logs. (GH-100002)

Replace control characters in http.server.BaseHTTPRequestHandler.log_message with an escaped \xHH sequence to avoid causing problems for the terminal the output is printed to.
(cherry picked from commit d8ab0a4dfa48f881b4ac9ab857d2e9de42f72828)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;

* also escape \s (backport of PR #100038).

* add versionadded and remove extraneous 'to'

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>gh-87389: Fix an open redirection vulnerability in http.server. (GH-93879) (GH-94094)</title>
<updated>2022-06-22T08:42:52Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-06-22T08:42:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4dc2cae3abd75f386374d0635d00443b897d0672'/>
<id>urn:sha1:4dc2cae3abd75f386374d0635d00443b897d0672</id>
<content type='text'>
Fix an open redirection vulnerability in the `http.server` module when
an URI path starts with `//` that could produce a 301 Location header
with a misleading target.  Vulnerability discovered, and logic fix
proposed, by Hamza Avvan (@hamzaavvan).

Test and comments authored by Gregory P. Smith [Google].
(cherry picked from commit 4abab6b603dd38bec1168e9a37c40a48ec89508e)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>bpo-38907: Suppress any exception when attempting to set V6ONLY. (GH-17864) (GH-17865)</title>
<updated>2020-01-06T13:28:27Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-01-06T13:28:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=33cb4a62bf6848093b7a05c9794582d204798b1b'/>
<id>urn:sha1:33cb4a62bf6848093b7a05c9794582d204798b1b</id>
<content type='text'>
Fixes error attempting to bind to IPv4 address.
(cherry picked from commit 7cdc31a14c824000cbe8b487900c9826a33f6940)

Co-authored-by: Jason R. Coombs &lt;jaraco@jaraco.com&gt;

Co-authored-by: Jason R. Coombs &lt;jaraco@jaraco.com&gt;
</content>
</entry>
<entry>
<title>bpo-38907: In http.server script, restore binding to IPv4 on Windows. (GH-17851) (#17854)</title>
<updated>2020-01-06T12:34:10Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-01-06T12:34:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5ed9d60bc53e2eb0a88f07d5afe5299acdc0b216'/>
<id>urn:sha1:5ed9d60bc53e2eb0a88f07d5afe5299acdc0b216</id>
<content type='text'>
(cherry picked from commit ee94bdb0598f9bc47d6a49e58fffc97aa617be96)

Co-authored-by: Jason R. Coombs &lt;jaraco@jaraco.com&gt;

Co-authored-by: Jason R. Coombs &lt;jaraco@jaraco.com&gt;
</content>
</entry>
<entry>
<title>bpo-24209: In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter. (#11767)</title>
<updated>2019-02-07T13:22:45Z</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2019-02-07T13:22:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f289084c83190cc72db4a70c58f007ec62e75247'/>
<id>urn:sha1:f289084c83190cc72db4a70c58f007ec62e75247</id>
<content type='text'>
In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter.

As a result, now IPv6 is used as the default (including IPv4 on dual-stack systems). Enhanced tests.</content>
</entry>
<entry>
<title>bpo-34711: Return HTTPStatus.NOT_FOUND if path.endswith('/') and not a directory (GH-9687)</title>
<updated>2018-12-26T05:43:42Z</updated>
<author>
<name>Michael Felt</name>
<email>aixtools@users.noreply.github.com</email>
</author>
<published>2018-12-26T05:43:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2062a20641febad5eb9c18d74e1cfb4d7a6e53ed'/>
<id>urn:sha1:2062a20641febad5eb9c18d74e1cfb4d7a6e53ed</id>
<content type='text'>
AIX allows a trailing slash on local file system paths, which isn't what we want
in http.server. Accordingly, check explicitly for this case in the server code,
rather than relying on the OS raising an exception.

Patch by Michael Felt.
</content>
</entry>
<entry>
<title>Adds IPv6 support when invoking http.server directly. (GH-10595)</title>
<updated>2018-11-26T18:43:38Z</updated>
<author>
<name>Lisa Roach</name>
<email>lisaroach14@gmail.com</email>
</author>
<published>2018-11-26T18:43:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=433433fa6d55091600ce88dd19206b3902e0a87d'/>
<id>urn:sha1:433433fa6d55091600ce88dd19206b3902e0a87d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-33663: Convert content length to string before putting to header (GH-7754)</title>
<updated>2018-06-18T21:17:53Z</updated>
<author>
<name>ValeriyaSinevich</name>
<email>valeriya.sinevich@phystech.edu</email>
</author>
<published>2018-06-18T21:17:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b36b0a3765bcacb4dcdbf12060e9e99711855da8'/>
<id>urn:sha1:b36b0a3765bcacb4dcdbf12060e9e99711855da8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195)</title>
<updated>2018-05-29T20:10:30Z</updated>
<author>
<name>Géry Ogam</name>
<email>gery.ogam@gmail.com</email>
</author>
<published>2018-05-29T20:10:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1cee216cf383eade641aed22f4ec7d4cb565ecff'/>
<id>urn:sha1:1cee216cf383eade641aed22f4ec7d4cb565ecff</id>
<content type='text'>
</content>
</entry>
</feed>
