diff options
author | Mario <mario@mariovavti.com> | 2021-01-09 13:22:43 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-09 13:22:43 +0000 |
commit | 7cfb230a5e90986b62a5c1df86ce48c894c0578c (patch) | |
tree | 7b9b543e48c9e9d64c7aa2f41a02d9f4acadcd49 /Zotlabs/Zot6/Finger.php | |
parent | 0e2af403298599737b41a44a0b6b3e0a1204b108 (diff) | |
download | volse-hubzilla-7cfb230a5e90986b62a5c1df86ce48c894c0578c.tar.gz volse-hubzilla-7cfb230a5e90986b62a5c1df86ce48c894c0578c.tar.bz2 volse-hubzilla-7cfb230a5e90986b62a5c1df86ce48c894c0578c.zip |
streamline keyid
Diffstat (limited to 'Zotlabs/Zot6/Finger.php')
-rw-r--r-- | Zotlabs/Zot6/Finger.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Zot6/Finger.php b/Zotlabs/Zot6/Finger.php index 22ce4685d..cec3f98ab 100644 --- a/Zotlabs/Zot6/Finger.php +++ b/Zotlabs/Zot6/Finger.php @@ -88,7 +88,7 @@ class Finger { $headers = []; $headers['X-Zot-Channel'] = $channel['channel_address'] . '@' . \App::get_hostname(); $headers['X-Zot-Nonce'] = random_string(); - $xhead = HTTPSig::create_sig($headers,$channel['channel_prvkey'],'acct:' . channel_reddress($channel)); + $xhead = HTTPSig::create_sig($headers,$channel['channel_prvkey'], channel_url($channel)); $retries = 0; @@ -100,7 +100,7 @@ class Finger { $result = z_post_url('http://' . $host . $rhs,$postvars, $retries, [ 'headers' => $xhead ]); } } - } + } else { $rhs .= '?f=&address=' . urlencode($address) . '&token=' . self::$token; |