From: friendica Date: Sat, 10 Dec 2011 00:46:18 +0000 (-0800) Subject: fix diaspora's illegal webfinger xml before sending to parser X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5b3155579ad58c16daa6a3c7c69d53482357c506;p=friendica.git fix diaspora's illegal webfinger xml before sending to parser --- diff --git a/include/network.php b/include/network.php index 78ed240743..551d5e1d0f 100644 --- a/include/network.php +++ b/include/network.php @@ -535,6 +535,9 @@ function fetch_xrd_links($url) { if ((! $xml) || (! stristr($xml,''),array('href="','"/>'),$xml); + $h = parse_xml_string($xml); if(! $h) return array();