summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-12-19 13:29:04 (GMT)
committerGitHub <noreply@github.com>2018-12-19 13:29:04 (GMT)
commitbf99bcf56c8b4e97b2737f9e751a563b625430ec (patch)
treeeb8f154d14fe43d7dde07e1b25c7b38ace1ce907
parent92330c0b6d6c253c41a133cc50caea4853c7e311 (diff)
downloadcpython-bf99bcf56c8b4e97b2737f9e751a563b625430ec.zip
cpython-bf99bcf56c8b4e97b2737f9e751a563b625430ec.tar.gz
cpython-bf99bcf56c8b4e97b2737f9e751a563b625430ec.tar.bz2
Fix Python version since which external enities are not resolved by default. (GH-11237)
-rw-r--r--Doc/library/xml.dom.pulldom.rst2
-rw-r--r--Doc/library/xml.rst2
-rw-r--r--Doc/library/xml.sax.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/xml.dom.pulldom.rst b/Doc/library/xml.dom.pulldom.rst
index eb2b16b..660c75c 100644
--- a/Doc/library/xml.dom.pulldom.rst
+++ b/Doc/library/xml.dom.pulldom.rst
@@ -25,7 +25,7 @@ events until either processing is finished or an error condition occurs.
maliciously constructed data. If you need to parse untrusted or
unauthenticated data see :ref:`xml-vulnerabilities`.
-.. versionchanged:: 3.8
+.. versionchanged:: 3.7.1
The SAX parser no longer processes general external entities by default to
increase security by default. To enable processing of external entities,
diff --git a/Doc/library/xml.rst b/Doc/library/xml.rst
index be12729..fb86b6f 100644
--- a/Doc/library/xml.rst
+++ b/Doc/library/xml.rst
@@ -75,7 +75,7 @@ decompression bomb Safe Safe Safe S
2. :mod:`xml.dom.minidom` doesn't expand external entities and simply returns
the unexpanded entity verbatim.
3. :mod:`xmlrpclib` doesn't expand external entities and omits them.
-4. Since Python 3.8, external general entities are no longer processed by
+4. Since Python 3.7.1, external general entities are no longer processed by
default.
diff --git a/Doc/library/xml.sax.rst b/Doc/library/xml.sax.rst
index 0b6973b..6d351df 100644
--- a/Doc/library/xml.sax.rst
+++ b/Doc/library/xml.sax.rst
@@ -24,7 +24,7 @@ the SAX API.
constructed data. If you need to parse untrusted or unauthenticated data see
:ref:`xml-vulnerabilities`.
-.. versionchanged:: 3.8
+.. versionchanged:: 3.7.1
The SAX parser no longer processes general external entities by default
to increase security. Before, the parser created network connections