bpo-17239: Disable external entities in SAX parser#9217
Conversation
686acbb to
3314077
Compare
September 12, 2018 16:32
|
Since default functionality is changing, should this be included in the |
Sorry, something went wrong.
vstinner
left a comment
There was a problem hiding this comment.
LGTM. Since there is a way to enable it in Python 3.7 and older, it's fine to change the default.
Should we change the default in Python 3.7 and older? I'm not sure about that.
Sorry, something went wrong.
zooba
left a comment
There was a problem hiding this comment.
Agreed with both Cheryl and Victor's suggestions.
Sorry, something went wrong.
15bf855 to
dd8ee7e
Compare
September 17, 2018 21:34
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
vstinner
left a comment
There was a problem hiding this comment.
LGTM, but maybe remove version numbers until they are really fixed?
Sorry, something went wrong.
d8125c2 to
55db8ce
Compare
September 22, 2018 05:57
The xml.sax and xml.dom.minidom parsers no longer processes external entities 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>
55db8ce to
0c8828c
Compare
September 23, 2018 07:21
|
Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6, 3.7. |
Sorry, something went wrong.
|
Sorry, @tiran, I could not cleanly backport this to |
Sorry, something went wrong.
|
Sorry, @tiran, I could not cleanly backport this to |
Sorry, something went wrong.
|
Sorry, @tiran, I could not cleanly backport this to |
Sorry, something went wrong.
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. (cherry picked from commit 17b1d5d) Co-authored-by: Christian Heimes <christian@python.org>
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. (cherry picked from commit 17b1d5d) Co-authored-by: Christian Heimes <christian@python.org>
…H-9512) 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. (cherry picked from commit 17b1d5d) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue17239
…H-9511) 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. (cherry picked from commit 17b1d5d) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue17239
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