mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
PEP 476: enable HTTPS certificate verification by default (#22417)
Patch by Alex Gaynor with some modifications by me.
This commit is contained in:
parent
8cf7c1cff0
commit
4ffb075271
11 changed files with 116 additions and 69 deletions
|
@ -27,11 +27,10 @@ between conformable Python objects and XML on the wire.
|
|||
constructed data. If you need to parse untrusted or unauthenticated data see
|
||||
:ref:`xml-vulnerabilities`.
|
||||
|
||||
.. warning::
|
||||
|
||||
In the case of https URIs, :mod:`xmlrpc.client` does not do any verification
|
||||
of the server's certificate.
|
||||
.. versionchanged:: 3.4.3
|
||||
|
||||
For https URIs, :mod:`xmlrpc.client` now performs all the necessary
|
||||
certificate and hostname checks by default
|
||||
|
||||
.. class:: ServerProxy(uri, transport=None, encoding=None, verbose=False, \
|
||||
allow_none=False, use_datetime=False, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue