aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-10 21:00:59 +0000
committerMario <mario@mariovavti.com>2018-10-10 23:08:58 +0200
commitcf4288767a7920dda0c68d5e8c8af5ef7d8753d6 (patch)
tree8bfea6ffb6a88c40c9373db9eba0a14064000633
parentca5a1d0853a0cb30d10cb78911dbaf019e411824 (diff)
downloadvolse-hubzilla-cf4288767a7920dda0c68d5e8c8af5ef7d8753d6.tar.gz
volse-hubzilla-cf4288767a7920dda0c68d5e8c8af5ef7d8753d6.tar.bz2
volse-hubzilla-cf4288767a7920dda0c68d5e8c8af5ef7d8753d6.zip
fix issue in zot finger
(cherry picked from commit 802ccdff4ade258f09fd3dca4ff4aa63cf5f9ac6)
-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);