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 21:49:44 -0700
commit304c393f38bb06b0346fe8bb5d082a039d803a85 (patch)
tree876b50fad2e561456b86537e900eef8b7c7f1b52 /Zotlabs/Module
parentc8000fca1f2ee379b62b473a00838af9a48bc4b6 (diff)
downloadvolse-hubzilla-304c393f38bb06b0346fe8bb5d082a039d803a85.tar.gz
volse-hubzilla-304c393f38bb06b0346fe8bb5d082a039d803a85.tar.bz2
volse-hubzilla-304c393f38bb06b0346fe8bb5d082a039d803a85.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) {