aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-04 21:49:44 -0700
committerzotlabs <mike@macgirvin.com>2017-09-04 22:35:44 -0700
commit83d0e48ebe4ba4b8b3ca5918bde98a1aaf005c31 (patch)
treecf72420d7aac8603958b602f5415ace26cca7221 /Zotlabs/Module
parentca58ef80ae665ab2b9da125e17fdb33a1ea90a40 (diff)
downloadvolse-hubzilla-83d0e48ebe4ba4b8b3ca5918bde98a1aaf005c31.tar.gz
volse-hubzilla-83d0e48ebe4ba4b8b3ca5918bde98a1aaf005c31.tar.bz2
volse-hubzilla-83d0e48ebe4ba4b8b3ca5918bde98a1aaf005c31.zip
some preliminary work on Zot VI
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Zfinger.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Zfinger.php b/Zotlabs/Module/Zfinger.php
index b978b9769..0f7f6a64b 100644
--- a/Zotlabs/Module/Zfinger.php
+++ b/Zotlabs/Module/Zfinger.php
@@ -25,7 +25,8 @@ class Zfinger extends \Zotlabs\Web\Controller {
if($chan) {
$hash = \Zotlabs\Web\HTTPSig::generate_digest($ret,false);
$headers['Digest'] = 'SHA-256=' . $hash;
- \Zotlabs\Web\HTTPSig::create_sig('',$headers,$chan['channel_prvkey'],z_root() . '/channel/' . $chan['channel_address'],true);
+ \Zotlabs\Web\HTTPSig::create_sig('',$headers,$chan['channel_prvkey'],
+ 'acct:' . $chan['channel_address'] . '@' . \App::get_hostname(),true);
}
else {
foreach($headers as $k => $v) {