You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
xml.sax.saxutils.XMLGenerator does not escape the namespace URI #156797
3.13only security fixes3.14bugs and security fixes3.15bugs and security fixes3.16new features, bugs and security fixestopic-XMLtype-bugAn unexpected behavior, bug, or error
XMLGenerator writes namespace declarations with the URI inserted as is. It is the only attribute value in this class which is not written with quoteattr(), so a URI containing &, < or a quote character produces a document which cannot be parsed. Copying a document with such a namespace name is enough to break it.
3.13only security fixes3.14bugs and security fixes3.15bugs and security fixes3.16new features, bugs and security fixestopic-XMLtype-bugAn unexpected behavior, bug, or error
Activity
gh-156797: Escape the namespace URI in xml.sax.saxutils.XMLGenerator (G…
[3.13] gh-156797: Escape the namespace URI in xml.sax.saxutils.XMLGen…
[3.14] gh-156797: Escape the namespace URI in xml.sax.saxutils.XMLGen…
pythongh-156797: Escape the namespace URI in xml.sax.saxutils.XMLGene…
[3.15] gh-156797: Escape the namespace URI in xml.sax.saxutils.XMLGen…