mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:05:55 +00:00
disable on subscription feed XML validation for the time being
This commit is contained in:
@@ -1611,9 +1611,9 @@
|
|||||||
$url = key($feedUrls);
|
$url = key($feedUrls);
|
||||||
}
|
}
|
||||||
|
|
||||||
libxml_use_internal_errors(true);
|
/* libxml_use_internal_errors(true);
|
||||||
$doc = new DOMDocument();
|
$doc = new DOMDocument();
|
||||||
$doc->loadXML(html_entity_decode($contents));
|
$doc->loadXML($contents);
|
||||||
$error = libxml_get_last_error();
|
$error = libxml_get_last_error();
|
||||||
libxml_clear_errors();
|
libxml_clear_errors();
|
||||||
|
|
||||||
@@ -1621,7 +1621,7 @@
|
|||||||
$error_message = format_libxml_error($error);
|
$error_message = format_libxml_error($error);
|
||||||
|
|
||||||
return array("code" => 6, "message" => $error_message);
|
return array("code" => 6, "message" => $error_message);
|
||||||
}
|
} */
|
||||||
|
|
||||||
if ($cat_id == "0" || !$cat_id) {
|
if ($cat_id == "0" || !$cat_id) {
|
||||||
$cat_qpart = "NULL";
|
$cat_qpart = "NULL";
|
||||||
|
|||||||
Reference in New Issue
Block a user