aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-10 23:00:59 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-10 23:00:59 +0200
commit802ccdff4ade258f09fd3dca4ff4aa63cf5f9ac6 (patch)
tree7814c197c97b521bee5d573130e783e77c1afee2
parentba50de15eac113a47ab2d4e247ebd6673c415684 (diff)
downloadvolse-hubzilla-802ccdff4ade258f09fd3dca4ff4aa63cf5f9ac6.tar.gz
volse-hubzilla-802ccdff4ade258f09fd3dca4ff4aa63cf5f9ac6.tar.bz2
volse-hubzilla-802ccdff4ade258f09fd3dca4ff4aa63cf5f9ac6.zip
fix issue in zot finger
-rw-r--r--Zotlabs/Zot/Finger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Zot/Finger.php b/Zotlabs/Zot/Finger.php
index 1d20f5822..77634777a 100644
--- a/Zotlabs/Zot/Finger.php
+++ b/Zotlabs/Zot/Finger.php
@@ -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);