Skip to content

[3.13] gh-156797: Escape the namespace URI in xml.sax.saxutils.XMLGenerator (GH-156799) - #156856

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-5056ac5-3.13
Sep 2, 2026
Merged

[3.13] gh-156797: Escape the namespace URI in xml.sax.saxutils.XMLGenerator (GH-156799)#156856
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-5056ac5-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The namespace declarations were the only attribute values written without
quoteattr(), so a URI containing "&", "<" or a quote character produced a
document which cannot be parsed.
(cherry picked from commit 5056ac5)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…rator (pythonGH-156799)

The namespace declarations were the only attribute values written without
quoteattr(), so a URI containing "&", "<" or a quote character produced a
document which cannot be parsed.
(cherry picked from commit 5056ac5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) September 2, 2026 21:17
@serhiy-storchaka
serhiy-storchaka merged commit 2d46d76 into python:3.13 Sep 2, 2026
44 of 47 checks passed
@miss-islington
miss-islington deleted the backport-5056ac5-3.13 branch September 2, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants