aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-01 14:55:29 -0800
committerFriendika <info@friendika.com>2011-02-01 14:55:29 -0800
commit8c5c07b2654f5ff28cea1a7012198f74c5b1af03 (patch)
tree1e5e05f75614e7b001895c060f5385021c717db2 /boot.php
parentb4f2aac7e76d8d8a8330ade4116a015593f001a6 (diff)
downloadvolse-hubzilla-8c5c07b2654f5ff28cea1a7012198f74c5b1af03.tar.gz
volse-hubzilla-8c5c07b2654f5ff28cea1a7012198f74c5b1af03.tar.bz2
volse-hubzilla-8c5c07b2654f5ff28cea1a7012198f74c5b1af03.zip
don't try to scrape atom/rss feeds. missing param in contact store (mod_follow)
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index ac010c19d..6bd82bb08 100644
--- a/boot.php
+++ b/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)) {