fix issue in zot finger

(cherry picked from commit 802ccdff4a)
This commit is contained in:
Mario Vavti 2018-10-10 21:00:59 +00:00 committed by Mario
parent ca5a1d0853
commit cf4288767a

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);