[New-bugs-announce] [issue32130] xml.sax parser validation sometimes fails when obtaining DTDs from https sites

Shamal Faily report at bugs.python.org
Sat Nov 25 06:05:53 EST 2017


New submission from Shamal Faily <shamal.faily at gmail.com>:

If an XML document is externally validated against a DTD from a https site then, depending on the security posture of the hosting site, validation might fail.  This seems to be due to the lack of user agent information received by the host when the request for the DTD is sent.

Relaxing the security rules on the host does get around this problem, but this might not always be a solution for some.

I've observed with this issue with xml.sax.  I don't know how general this problem is in other XML handling components of Python2 or Python 3.

----------
components: XML
messages: 306952
nosy: failys
priority: normal
severity: normal
status: open
title: xml.sax parser validation sometimes fails when obtaining DTDs from https sites
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32130>
_______________________________________


More information about the New-bugs-announce mailing list