mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-02-01 02:52:09 +01:00
Revert "Disable entity loader just in case"
This reverts commit 9c8d26fa9be03f28aa553b8fdc3fba61d5af4c1b.
This commit is contained in:
parent
f9bc84916d
commit
9d9667b9e6
@ -408,7 +408,6 @@ class OC_Bookmarks_Bookmarks{
|
||||
|
||||
public static function importFile($file){
|
||||
libxml_use_internal_errors(true);
|
||||
$loadEntities = libxml_disable_entity_loader(true);
|
||||
$dom = new domDocument();
|
||||
|
||||
$dom->loadHTMLFile($file);
|
||||
@ -430,7 +429,6 @@ class OC_Bookmarks_Bookmarks{
|
||||
self::addBookmark($ref, $title, $tags,$desc_str );
|
||||
}
|
||||
OCP\DB::commit();
|
||||
libxml_disable_entity_loader($loadEntities);
|
||||
return array();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user