diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2022-02-21 14:48:32 (GMT) |
---|---|---|
committer | Ćukasz Langa <lukasz@langa.pl> | 2022-02-22 20:57:53 (GMT) |
commit | fdfd7a93540b0866ba42264ecb9b0a3c2286f654 (patch) | |
tree | 14d2845f288292cf75726ae310af1f4459c060f2 /Misc/NEWS.d/next | |
parent | c60414de7cefd092643ba200c2c045da1569c391 (diff) | |
download | cpython-fdfd7a93540b0866ba42264ecb9b0a3c2286f654.zip cpython-fdfd7a93540b0866ba42264ecb9b0a3c2286f654.tar.gz cpython-fdfd7a93540b0866ba42264ecb9b0a3c2286f654.tar.bz2 |
bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453)
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 2cae93832f46b245847bdc252456ddf7742ef45e)
Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-02-20-21-03-31.bpo-46811.8BxgdQ.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-02-20-21-03-31.bpo-46811.8BxgdQ.rst b/Misc/NEWS.d/next/Library/2022-02-20-21-03-31.bpo-46811.8BxgdQ.rst new file mode 100644 index 0000000..6969bd1 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-02-20-21-03-31.bpo-46811.8BxgdQ.rst @@ -0,0 +1 @@ +Make test suite support Expat >=2.4.5 |