don't try to scrape atom/rss feeds. missing param in contact store (mod_follow)
This commit is contained in:
parent
b4f2aac7e7
commit
8c5c07b265
3 changed files with 62 additions and 1 deletions
3
boot.php
3
boot.php
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue