1
1
Fork 0

don't try to scrape atom/rss feeds. missing param in contact store (mod_follow)

This commit is contained in:
Friendika 2011-02-01 14:55:29 -08:00
commit 8c5c07b265
3 changed files with 62 additions and 1 deletions

View file

@ -1374,6 +1374,9 @@ function lrdd($uri) {
$link = $matches[1];
break;
}
// don't try and run feeds through the html5 parser
if(stristr($line,'content-type:') && ((stristr($line,'application/atom+xml')) || (stristr($line,'application/rss+xml'))))
return array();
}
}
if(! isset($link)) {