<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/ftplib.py, branch 3.6</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/ftplib.py?h=3.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/ftplib.py?h=3.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2021-03-16T21:08:30Z</updated>
<entry>
<title>[3.6] bpo-43285 Make ftplib not trust the PASV response. (GH-24838) (GH-24881) (GH-24882)</title>
<updated>2021-03-16T21:08:30Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-03-16T21:08:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4134f154ae2f621f25c5d698cc0f1748035a1b88'/>
<id>urn:sha1:4134f154ae2f621f25c5d698cc0f1748035a1b88</id>
<content type='text'>
The IPv4 address value returned from the server in response to the PASV command
should not be trusted.  This prevents a malicious FTP server from using the
response to probe IPv4 address and port combinations on the client network.

Instead of using the returned address, we use the IP address we're
already connected to.  This is the strategy other ftp clients adopted,
and matches the only strategy available for the modern IPv6 EPSV command
where the server response must return a port number and nothing else.

For the rare user who _wants_ this ugly behavior, set a `trust_server_pasv_ipv4_address`
attribute on your `ftplib.FTP` instance to True..
(cherry picked from commit 0ab152c6b5d95caa2dc1a30fa96e10258b5f188e)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;
(cherry picked from commit 664d1d16274b47eea6ec92572e1ebf3939a6fa0c)
</content>
</entry>
<entry>
<title>[3.6] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10281)</title>
<updated>2018-11-01T12:19:37Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-11-01T12:19:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=89138f286938753f273c90547491efe374e617c1'/>
<id>urn:sha1:89138f286938753f273c90547491efe374e617c1</id>
<content type='text'>
(cherry picked from commit 4b5e62dbb22a3593e0db266c12f805b727a42b00)

Co-authored-by: Pablo Aguiar &lt;scorphus@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.6] bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214) (#2886)</title>
<updated>2017-07-26T12:11:25Z</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2017-07-26T12:11:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8c2d4cf092c5f0335e7982392a33927579c4d512'/>
<id>urn:sha1:8c2d4cf092c5f0335e7982392a33927579c4d512</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #28022: Deprecate ssl-related arguments in favor of SSLContext.</title>
<updated>2016-09-10T21:23:33Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2016-09-10T21:23:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d04863771b0c5bedeb1e4afe05dcba3adcc0fb58'/>
<id>urn:sha1:d04863771b0c5bedeb1e4afe05dcba3adcc0fb58</id>
<content type='text'>
The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.

ssl.wrap_socket() is not marked as deprecated yet.
</content>
</entry>
<entry>
<title>#27364: fix "incorrect" uses of escape character in the stdlib.</title>
<updated>2016-09-08T17:59:53Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2016-09-08T17:59:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=44b548dda872c0d4f30afd6b44fd74b053a55ad8'/>
<id>urn:sha1:44b548dda872c0d4f30afd6b44fd74b053a55ad8</id>
<content type='text'>
And most of the tools.

Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
</content>
</entry>
<entry>
<title>Removed unused imports.</title>
<updated>2016-04-24T21:12:32Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-04-24T21:12:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ccd047ea4b92f09a84b67e69deb82ce42e510c4c'/>
<id>urn:sha1:ccd047ea4b92f09a84b67e69deb82ce42e510c4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #23883: Add missing APIs to __all__; patch by Jacek Kołodziej</title>
<updated>2015-11-14T12:46:42Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-11-14T12:46:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=19e69c5a2067fe6322ead88733ebbca77673010b'/>
<id>urn:sha1:19e69c5a2067fe6322ead88733ebbca77673010b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5</title>
<updated>2015-11-02T04:04:57Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-11-02T04:04:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2eb819f7a82c7eb61f2d253894d9973f0ec21df2'/>
<id>urn:sha1:2eb819f7a82c7eb61f2d253894d9973f0ec21df2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #25523: Correct "a" article to "an" article</title>
<updated>2015-11-02T03:37:02Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-11-02T03:37:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7462b64911f1e2df2de2285ddbf8b156b5cdc418'/>
<id>urn:sha1:7462b64911f1e2df2de2285ddbf8b156b5cdc418</id>
<content type='text'>
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
</content>
</entry>
<entry>
<title>Issue #23865: close() methods in multiple modules now are idempotent and more</title>
<updated>2015-04-10T10:24:41Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-04-10T10:24:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7e7a3dba5fd4262269f713dfe21ba7e4746fc2dd'/>
<id>urn:sha1:7e7a3dba5fd4262269f713dfe21ba7e4746fc2dd</id>
<content type='text'>
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
</content>
</entry>
</feed>
