]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable on subscription feed XML validation for the time being
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Apr 2013 21:38:06 +0000 (01:38 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Apr 2013 21:38:06 +0000 (01:38 +0400)
include/functions.php

index e861193c20aeacf3e5e187f429615d0813249182..8a414aec2efc991d5300af25b85e02b1a62fb113 100644 (file)
                        $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();
 
                        $error_message = format_libxml_error($error);
 
                        return array("code" => 6, "message" => $error_message);
-               }
+               } */
 
                if ($cat_id == "0" || !$cat_id) {
                        $cat_qpart = "NULL";