fix issue in zot finger

This commit is contained in:
Mario Vavti 2018-10-10 23:00:59 +02:00
parent ba50de15ea
commit 802ccdff4a

View File

@ -93,7 +93,7 @@ class Finger {
$headers = [];
$headers['X-Zot-Channel'] = $channel['channel_address'] . '@' . \App::get_hostname();
$headers['X-Zot-Nonce'] = random_string();
$headers['Host'] = $parsed['host'];
$headers['Host'] = $parsed_host;
$xhead = \Zotlabs\Web\HTTPSig::create_sig('',$headers,$channel['channel_prvkey'],
'acct:' . $channel['channel_address'] . '@' . \App::get_hostname(),false);