1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:45:56 +00:00

disable libxml entity loader to prevent attacks via xml external entities (fixes #833)

This commit is contained in:
Andrew Dolgov
2014-12-08 14:49:54 +03:00
parent 682c7c2911
commit 584411fee6

View File

@@ -14,6 +14,8 @@
$fetch_curl_used = false;
$suppress_debugging = false;
libxml_disable_entity_loader(true);
mb_internal_encoding("UTF-8");
date_default_timezone_set('UTC');
if (defined('E_DEPRECATED')) {