diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gprobe.php | 3 | ||||
-rw-r--r-- | include/zot.php | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/gprobe.php b/include/gprobe.php index 48c1c8e14..d8d893d9e 100644 --- a/include/gprobe.php +++ b/include/gprobe.php @@ -14,6 +14,9 @@ function gprobe_run($argv, $argc){ $url = hex2bin($argv[1]); + if(! strpos($url,'@')) + return; + $r = q("select * from xchan where xchan_addr = '%s' limit 1", dbesc($url) ); diff --git a/include/zot.php b/include/zot.php index 69e361331..0b713faae 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1531,6 +1531,8 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $ $result = array(); + $result['site'] = z_root(); + // We've validated the sender. Now make sure that the sender is the owner or author if(! $public) { |