[Python-checkins] r85103 - in python/branches/release27-maint: Doc/library/httplib.rst Doc/library/urllib.rst Doc/library/urllib2.rst
antoine.pitrou
python-checkins at python.org
Wed Sep 29 13:30:52 CEST 2010
Author: antoine.pitrou
Date: Wed Sep 29 13:30:52 2010
New Revision: 85103
Log:
Merged revisions 85101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85101 | antoine.pitrou | 2010-09-29 13:24:21 +0200 (mer., 29 sept. 2010) | 3 lines
Issue #9983: warn that urllib and httplib don't perform SSL certificate validation.
........
Modified:
python/branches/release27-maint/ (props changed)
python/branches/release27-maint/Doc/library/httplib.rst
python/branches/release27-maint/Doc/library/urllib.rst
python/branches/release27-maint/Doc/library/urllib2.rst
Modified: python/branches/release27-maint/Doc/library/httplib.rst
==============================================================================
--- python/branches/release27-maint/Doc/library/httplib.rst (original)
+++ python/branches/release27-maint/Doc/library/httplib.rst Wed Sep 29 13:30:52 2010
@@ -73,9 +73,8 @@
formatted file that contains your private key. *cert_file* is a PEM formatted
certificate chain file.
- .. note::
-
- This does not do any certificate verification.
+ .. warning::
+ This does not do any verification of the server's certificate.
.. versionadded:: 2.0
Modified: python/branches/release27-maint/Doc/library/urllib.rst
==============================================================================
--- python/branches/release27-maint/Doc/library/urllib.rst (original)
+++ python/branches/release27-maint/Doc/library/urllib.rst Wed Sep 29 13:30:52 2010
@@ -23,6 +23,10 @@
instead of filenames. Some restrictions apply --- it can only open URLs for
reading, and no seek operations are available.
+.. warning:: When opening HTTPS URLs, it is not attempted to validate the
+ server certificate. Use at your own risk!
+
+
High-level interface
--------------------
Modified: python/branches/release27-maint/Doc/library/urllib2.rst
==============================================================================
--- python/branches/release27-maint/Doc/library/urllib2.rst (original)
+++ python/branches/release27-maint/Doc/library/urllib2.rst Wed Sep 29 13:30:52 2010
@@ -18,6 +18,9 @@
URLs (mostly HTTP) in a complex world --- basic and digest authentication,
redirections, cookies and more.
+.. warning:: When opening HTTPS (or FTPS) URLs, it is not attempted to
+ validate the server certificate. Use at your own risk!
+
The :mod:`urllib2` module defines the following functions:
More information about the Python-checkins
mailing list