Verified Commit 7ecd3909 authored by Cyril Vazquez's avatar Cyril Vazquez
Browse files

Set DOMDocument::$resolveExternals = false to prevent XEE processing

parent b559c98f
......@@ -83,6 +83,8 @@ abstract class abstractMessage
$message->xml = \laabs::newService('dependency/xml/Document');
$message->xml->resolveExternals = false;
$message->xml->load($message->path);
$message->xPath = new \DOMXPath($message->xml);
......
......@@ -83,6 +83,8 @@ abstract class abstractMessage
$message->xml = \laabs::newService('dependency/xml/Document');
$message->xml->resolveExternals = false;
$message->xml->load($message->path);
$message->xPath = new \DOMXPath($message->xml);
......
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