From dd6c64f95adc89895d4adf9ede8fbc8fdae41750 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 17 Nov 2013 23:12:34 -0800 Subject: magic auth issues --- mod/magic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/magic.php') 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); } -- cgit v1.2.3