mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 18:41:29 +00:00
disable libxml entity loader to prevent attacks via xml external entities (fixes #833)
This commit is contained in:
@@ -14,6 +14,8 @@
|
|||||||
$fetch_curl_used = false;
|
$fetch_curl_used = false;
|
||||||
$suppress_debugging = false;
|
$suppress_debugging = false;
|
||||||
|
|
||||||
|
libxml_disable_entity_loader(true);
|
||||||
|
|
||||||
mb_internal_encoding("UTF-8");
|
mb_internal_encoding("UTF-8");
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
if (defined('E_DEPRECATED')) {
|
if (defined('E_DEPRECATED')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user