From: Andrew Dolgov Date: Fri, 19 Apr 2013 21:38:06 +0000 (+0400) Subject: disable on subscription feed XML validation for the time being X-Git-Tag: 1.7.9~25^2~117 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9ce600c8018b6cfe7711f28fa46247f62f424379;p=tt-rss.git disable on subscription feed XML validation for the time being --- diff --git a/include/functions.php b/include/functions.php index e861193c..8a414aec 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1611,9 +1611,9 @@ $url = key($feedUrls); } - libxml_use_internal_errors(true); + /* libxml_use_internal_errors(true); $doc = new DOMDocument(); - $doc->loadXML(html_entity_decode($contents)); + $doc->loadXML($contents); $error = libxml_get_last_error(); libxml_clear_errors(); @@ -1621,7 +1621,7 @@ $error_message = format_libxml_error($error); return array("code" => 6, "message" => $error_message); - } + } */ if ($cat_id == "0" || !$cat_id) { $cat_qpart = "NULL";