Skip to content

Commit

Permalink
Add argument to XML parser to prohibit loading external entities
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Trann authored and Mathias Loesch committed Aug 10, 2017
1 parent 81650a0 commit 0f8a5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickle/response.py
Expand Up @@ -8,7 +8,7 @@

from lxml import etree

XMLParser = etree.XMLParser(remove_blank_text=True, recover=True)
XMLParser = etree.XMLParser(remove_blank_text=True, recover=True, resolve_entities=False)


class OAIResponse(object):
Expand Down

0 comments on commit 0f8a5fa

Please sign in to comment.