Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf99bcf

Browse files
Fix Python version since which external enities are not resolved by default. (GH-11237)
1 parent 92330c0 commit bf99bcf

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/xml.dom.pulldom.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ events until either processing is finished or an error condition occurs.
2525
maliciously constructed data. If you need to parse untrusted or
2626
unauthenticated data see :ref:`xml-vulnerabilities`.
2727

28-
.. versionchanged:: 3.8
28+
.. versionchanged:: 3.7.1
2929

3030
The SAX parser no longer processes general external entities by default to
3131
increase security by default. To enable processing of external entities,

Doc/library/xml.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ decompression bomb Safe Safe Safe S
7575
2. :mod:`xml.dom.minidom` doesn't expand external entities and simply returns
7676
the unexpanded entity verbatim.
7777
3. :mod:`xmlrpclib` doesn't expand external entities and omits them.
78-
4. Since Python 3.8, external general entities are no longer processed by
78+
4. Since Python 3.7.1, external general entities are no longer processed by
7979
default.
8080

8181

Doc/library/xml.sax.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ the SAX API.
2424
constructed data. If you need to parse untrusted or unauthenticated data see
2525
:ref:`xml-vulnerabilities`.
2626

27-
.. versionchanged:: 3.8
27+
.. versionchanged:: 3.7.1
2828

2929
The SAX parser no longer processes general external entities by default
3030
to increase security. Before, the parser created network connections

0 commit comments

Comments
 (0)