Skip to content

Consider using defusedxml #212

@lemon24

Description

@lemon24

https://pypi.org/project/defusedxml/

Related issue: kurtmckee/feedparser#107

We have two (obvious) options here:

  • contribute to feedparser, see the issue linked above (I don't know if it's easy to do)
  • pass the XML stream through defusedxml before passing it to feedparser
    • this will likely remove feedparser's ability to deal with broken xml (if it still can do that)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions