From 5b3155579ad58c16daa6a3c7c69d53482357c506 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 9 Dec 2011 16:46:18 -0800 Subject: [PATCH] fix diaspora's illegal webfinger xml before sending to parser --- include/network.php | 3 +++ 1 file changed, 3 insertions(+) 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();