diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-12-10 11:56:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-10 11:56:54 +0100 |
commit | cecf313d1ef4adc0ee5338dd0ca9be0b98302c87 (patch) | |
tree | 9ab61dea91bd45ae7798c8da6367633cac10f612 /Misc | |
parent | 324e1790094708538acf2e7795f9c44e3732aaf7 (diff) | |
download | cpython-git-cecf313d1ef4adc0ee5338dd0ca9be0b98302c87.tar.gz |
bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061) (GH-11068)
Fix xml.dom.minidom cloneNode() on a document with an entity: pass
the correct arguments to the user data handler of an entity (fix an
old copy/paste mistake).
Bug spotted and fix proposed by Charalampos Stratakis, initial
reproducer written by Petr Viktorin.
Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com>
Co-Authored-By: Petr Viktorin <encukou@gmail.com>
(cherry picked from commit 8e0418688906206fe59bd26344320c0fc026849e)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-12-10-09-48-27.bpo-35052.xE1ymg.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-12-10-09-48-27.bpo-35052.xE1ymg.rst b/Misc/NEWS.d/next/Library/2018-12-10-09-48-27.bpo-35052.xE1ymg.rst new file mode 100644 index 0000000000..4877188a29 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-12-10-09-48-27.bpo-35052.xE1ymg.rst @@ -0,0 +1,2 @@ +Fix xml.dom.minidom cloneNode() on a document with an entity: pass the +correct arguments to the user data handler of an entity. |