aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Magic.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-17 14:51:57 -0700
committerredmatrix <mike@macgirvin.com>2016-09-17 14:51:57 -0700
commit0754da58da96316a9ff4505f9c7c712c1f0094b6 (patch)
tree4547950121b0ade42878ce9a4d5b7cb5430bf02d /Zotlabs/Module/Magic.php
parent31df7af61f449d2fe307b3440c7dd7bf4b016cf0 (diff)
downloadvolse-hubzilla-0754da58da96316a9ff4505f9c7c712c1f0094b6.tar.gz
volse-hubzilla-0754da58da96316a9ff4505f9c7c712c1f0094b6.tar.bz2
volse-hubzilla-0754da58da96316a9ff4505f9c7c712c1f0094b6.zip
some changes merged from wrong branch... new function channel_reddress() instead of hardwired generation and which fixes case-sensitivity; allow dot notation in config and pconfig utils, updated string file
Diffstat (limited to 'Zotlabs/Module/Magic.php')
-rw-r--r--Zotlabs/Module/Magic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Magic.php b/Zotlabs/Module/Magic.php
index 6798f72a9..9ee5f9324 100644
--- a/Zotlabs/Module/Magic.php
+++ b/Zotlabs/Module/Magic.php
@@ -140,7 +140,7 @@ class Magic extends \Zotlabs\Web\Controller {
\Zotlabs\Zot\Verify::create('auth',$channel['channel_id'],$token,$x[0]['hubloc_url']);
- $target_url = $x[0]['hubloc_callback'] . '/?f=&auth=' . urlencode($channel['channel_address'] . '@' . \App::get_hostname())
+ $target_url = $x[0]['hubloc_callback'] . '/?f=&auth=' . urlencode(channel_reddress($channel))
. '&sec=' . $token . '&dest=' . urlencode($dest) . '&version=' . ZOT_REVISION;
if($delegate)