mangled urls on redirects

(cherry picked from commit 5ce50d0a2e)
This commit is contained in:
zotlabs
2018-07-18 17:05:38 -07:00
committed by Mario
parent 4a6f775334
commit 931afe98b1
8 changed files with 17 additions and 16 deletions

View File

@@ -156,7 +156,7 @@ class Manage extends \Zotlabs\Web\Controller {
if($delegates) {
for($x = 0; $x < count($delegates); $x ++) {
$delegates[$x]['link'] = 'magic?f=&dest=' . urlencode($delegates[$x]['xchan_url'])
$delegates[$x]['link'] = 'magic?f=&bdest=' . bin2hex($delegates[$x]['xchan_url'])
. '&delegate=' . urlencode($delegates[$x]['xchan_addr']);
$delegates[$x]['channel_name'] = $delegates[$x]['xchan_name'];
$delegates[$x]['delegate'] = 1;