mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
SimpleDB: Disable XML entity loader
This commit is contained in:
@@ -436,6 +436,7 @@ if (isset($_GET["simpledb"])) {
|
||||
return false;
|
||||
}
|
||||
libxml_use_internal_errors(true);
|
||||
libxml_disable_entity_loader();
|
||||
$xml = simplexml_load_string($file);
|
||||
if (!$xml) {
|
||||
$error = libxml_get_last_error();
|
||||
|
Reference in New Issue
Block a user