]> granicus.if.org Git - python/commit
bpo-17239: Disable external entities in SAX parser (GH-9217)
authorChristian Heimes <christian@python.org>
Sun, 23 Sep 2018 07:50:25 +0000 (09:50 +0200)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 23 Sep 2018 07:50:25 +0000 (00:50 -0700)
commit17b1d5d4e36aa57a9b25a0e694affbd1ee637e45
tree486acd3328d5e607bd05936fdfb73eb548d4fa90
parent9fb051f032c36b9f6086b79086b4d6b7755a3d70
bpo-17239: Disable external entities in SAX parser (GH-9217)

The SAX parser no longer processes general external entities by default
to increase security. Before, the parser created network connections
to fetch remote files or loaded local files from the file system for DTD
and entities.

Signed-off-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue17239
Doc/library/xml.dom.pulldom.rst
Doc/library/xml.rst
Doc/library/xml.sax.rst
Doc/whatsnew/3.8.rst
Lib/test/test_pulldom.py
Lib/test/test_sax.py
Lib/test/test_xml_etree.py
Lib/xml/sax/expatreader.py
Misc/NEWS.d/next/Security/2018-09-11-18-30-55.bpo-17239.kOpwK2.rst [new file with mode: 0644]