magic auth issues

This commit is contained in:
friendica
2013-11-17 23:12:34 -08:00
parent f8b07e1935
commit dd6c64f95a
3 changed files with 5 additions and 5 deletions

View File

@@ -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);
}