firehose testing (network?f=&fh=1) - some possible security bugs so testing purposes only

This commit is contained in:
friendica
2014-03-26 22:05:19 -07:00
parent a00c581e27
commit 5a3903a40c
4 changed files with 22 additions and 114 deletions

View File

@@ -176,6 +176,7 @@ function poller_run($argv, $argc){
if($r) {
$feedurl = $r[0]['site_url'] . '/zotfeed?f=&mindate=' . urlencode(datetime_convert('','','now - 15 days'));
$x = z_fetch_url($feedurl);
if(($x) && ($x['success'])) {
$total = 0;
$j = json_decode($x['body'],true);