aboutsummaryrefslogtreecommitdiffstats
path: root/mod/magic.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-17 23:12:34 -0800
committerfriendica <info@friendica.com>2013-11-17 23:12:34 -0800
commitdd6c64f95adc89895d4adf9ede8fbc8fdae41750 (patch)
tree72375b0869c4387518cd9b75949b81a29cd3f668 /mod/magic.php
parentf8b07e1935dd6d035b7458141eca099a2445b077 (diff)
downloadvolse-hubzilla-dd6c64f95adc89895d4adf9ede8fbc8fdae41750.tar.gz
volse-hubzilla-dd6c64f95adc89895d4adf9ede8fbc8fdae41750.tar.bz2
volse-hubzilla-dd6c64f95adc89895d4adf9ede8fbc8fdae41750.zip
magic auth issues
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 21f703192..6c8ad24ed 100644
--- a/mod/magic.php
+++ b/mod/magic.php
@@ -159,7 +159,7 @@ function magic_init(&$a) {
logger('mod_magic: redirecting to: ' . $target_url, LOGGER_DEBUG);
goaway($target_url
- . '/?f=&auth=' . $channel['channel_address'] . '@' . $a->get_hostname()
+ . '/?f=&auth=' . urlencode($channel['channel_address'] . '@' . $a->get_hostname())
. '&sec=' . $token . '&dest=' . urlencode($dest) . '&version=' . ZOT_REVISION);
}