docintelapp / DocIntel

Open Source Platform for storing, organizing, and searching documents related to cyber threats
https://docintel.org
Other
154 stars 25 forks source link

How to enable DTD? #21

Closed xme closed 1 year ago

xme commented 1 year ago

While fetching a RSS feed, I got this:

docintel-dev-importer | 2022-11-11 07:14:10.2863 [ERROR] [DocIntel.Services.Importer.Runner] For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.

Is there a way to enable this? Alternative?

ancailliau commented 1 year ago

Do you have an example that I can use to reproduce the bug?

ancailliau commented 1 year ago

Documentation has been added for the new settings: https://docs.docintel.org/docs/admin/security.html#dtd-processing