Commit 5cbdaf7a authored by Yadd's avatar Yadd
Browse files

Disable external entities in XML parsers (Fixes: #1818)

parent deff50f0
......@@ -44,7 +44,7 @@ sub new {
}
# Initiate XML parser
$parser = XML::LibXML->new();
$parser = XML::LibXML->new( load_ext_dtd => 0, expand_entities => 0 );
return $self;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment