8000 bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) (GH-31469) · msys2-contrib/cpython-mingw@9916159 · GitHub 65F2
[go: up one dir, main page]

Skip to content

Commit 9916159

Browse files
miss-islingtonhartwork
authored andcommitted
bpo-46811: Make test suite support Expat >=2.4.5 (pythonGH-31453) (pythonGH-31469)
Curly brackets were never allowed in namespace URIs according to RFC 3986, and so-called namespace-validating XML parsers have the right to reject them a invalid URIs. libexpat >=2.4.5 has become strcter in that regard due to related security issues; with ET.XML instantiating a namespace-aware parser under the hood, this test has no future in CPython. References: - https://datatracker.ietf.org/doc/html/rfc3968 - https://www.w3.org/TR/xml-names/ Also, test_minidom.py: Support Expat >=2.4.5 (cherry picked from commit 2cae938) Co-authored-by: Sebastian Pipping <sebastian@pipping.org> Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
1 parent b0a2ae4 commit 9916159

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Make test suite support Expat >=2.4.5

0 commit comments

Comments
 (0)
0