aboutsummaryrefslogtreecommitdiffstats
path: root/mod/magic.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-04-10 23:00:41 -0700
committerfriendica <info@friendica.com>2013-04-10 23:00:41 -0700
commit15ceaeb62483f28558bf870ed256793fab01cb24 (patch)
tree6c29b89ffd7c7b647a2c1dc24d0507ab65e2a075 /mod/magic.php
parent17870912e456a616454f1b03fcb0d60a402334c9 (diff)
downloadvolse-hubzilla-15ceaeb62483f28558bf870ed256793fab01cb24.tar.gz
volse-hubzilla-15ceaeb62483f28558bf870ed256793fab01cb24.tar.bz2
volse-hubzilla-15ceaeb62483f28558bf870ed256793fab01cb24.zip
magic auth doco
Diffstat (limited to 'mod/magic.php')
-rw-r--r--mod/magic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/magic.php b/mod/magic.php
index d6697f6cc..e655e9737 100644
--- a/mod/magic.php
+++ b/mod/magic.php
@@ -119,7 +119,7 @@ function magic_init(&$a) {
goaway($x[0]['hubloc_callback'] . '/' . substr($x[0]['hubloc_addr'],0,strpos($x[0]['hubloc_addr'],'@'))
. '/?f=&auth=' . $channel['channel_address'] . '@' . $a->get_hostname()
- . '&sec=' . $token . '&dest=' . $dest . '&version=' . ZOT_REVISION);
+ . '&sec=' . $token . '&dest=' . urlencode($dest) . '&version=' . ZOT_REVISION);
}
if(strpos($dest,'/'))