don't deliver to non-deliverable hosts

This commit is contained in:
zotlabs 2018-09-17 23:38:50 -07:00
parent 1da3b960bd
commit 0b71807ffe

View file

@ -162,6 +162,11 @@ class ActivityPub {
$dest_url = $recip['hubloc_callback'];
if(strpos($dest_url,'http') === false) {
logger('destination is not a url: ' . $dest_url);
return false;
}
logger('URL: ' . $dest_url, LOGGER_DEBUG);
logger('DATA: ' . jindent($msg), LOGGER_DATA);