diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-02-21 19:03:08 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-21 19:03:08 (GMT) |
| commit | d4f5bb912e67299b59b814b89a5afd9a8821a14e (patch) | |
| tree | 6047fba919ce4ef09e721f9486d03c64ca97f71f /Python/pythonrun.c | |
| parent | 5fdacac8cecb123ae12669ceb3504b2f41075c20 (diff) | |
| download | cpython-d4f5bb912e67299b59b814b89a5afd9a8821a14e.zip cpython-d4f5bb912e67299b59b814b89a5afd9a8821a14e.tar.gz cpython-d4f5bb912e67299b59b814b89a5afd9a8821a14e.tar.bz2 | |
bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) (GH-31471)
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 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
