Revert "Replace xml.dom.minidom.parse which is known to be vulnerable to XML attacks. (#3933)"
This reverts commit 74f227590e
.
Expat doesn't like ./data/achievements.xml ! Error= <type 'exceptions.NameError'>
( ("name 'defusedxml' is not defined",) )
This commit is contained in:
parent
3e51fadc09
commit
d77fd2e69e
@ -86,7 +86,7 @@ for file in filenames:
|
||||
isAchievements = True
|
||||
|
||||
try:
|
||||
doc = defusedxml.minidom.parse(file)
|
||||
doc = xml.dom.minidom.parse(file)
|
||||
except Exception as ex:
|
||||
print "============================================"
|
||||
print "/!\\ Expat doesn't like ", file, "! Error=", type(ex), " (", ex.args, ")"
|
||||
|
Loading…
Reference in New Issue
Block a user