mirror of
https://github.com/vrana/adminer.git
synced 2026-01-04 14:50:56 +01: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