diff options
author | friendica <info@friendica.com> | 2011-12-11 20:03:46 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2011-12-11 20:03:46 -0800 |
commit | 50c4b9a7803c08d6e41fc64ca3ffeb66c7f450ba (patch) | |
tree | 1d67ee1261c481ac6423cd3897dbba40c75c0de1 /include/network.php | |
parent | 3da3cd686cc7fa51e2c98e98dbf8bd3a65880bdd (diff) | |
parent | 834639ebab3daded63c3ed076273e69b798ced90 (diff) | |
download | volse-hubzilla-50c4b9a7803c08d6e41fc64ca3ffeb66c7f450ba.tar.gz volse-hubzilla-50c4b9a7803c08d6e41fc64ca3ffeb66c7f450ba.tar.bz2 volse-hubzilla-50c4b9a7803c08d6e41fc64ca3ffeb66c7f450ba.zip |
Merge branch 'master' into notify
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/network.php b/include/network.php index 78ed24074..551d5e1d0 100644 --- a/include/network.php +++ b/include/network.php @@ -535,6 +535,9 @@ function fetch_xrd_links($url) { if ((! $xml) || (! stristr($xml,'<xrd'))) return array(); + // fix diaspora's bad xml + $xml = str_replace(array('href="','"/>'),array('href="','"/>'),$xml); + $h = parse_xml_string($xml); if(! $h) return array(); |