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

@@ -120,7 +120,7 @@ function vcard_from_xchan($xchan, $observer = null, $mode = '') {
App::$profile_uid = $xchan['channel_id'];
$url = (($observer)
? z_root() . '/magic?f=&owa=1&dest=' . $xchan['xchan_url'] . '&addr=' . $xchan['xchan_addr']
? z_root() . '/magic?f=&owa=1&bdest=' . bin2hex($xchan['xchan_url']) . '&addr=' . $xchan['xchan_addr']
: $xchan['xchan_url']
);