X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fviewcontacts.php;h=927a597524adaa7b17565aea86e629e75b4a1128;hb=288d4e0d7ba9b9022685ff5eafeac79f6d52d395;hp=3a6c48a3b2fab619688999c7e751796785ce2456;hpb=677f46c076ced8377a2ddf0df0a704b6ab389ed6;p=friendica.git diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php index 3a6c48a3b2..927a597524 100644 --- a/mod/viewcontacts.php +++ b/mod/viewcontacts.php @@ -48,7 +48,7 @@ function viewcontacts_content(&$a) { if($rr['self']) continue; - $url = $rr['url']; + $url = $rr['url']; // route DFRN profiles through the redirect @@ -62,13 +62,13 @@ function viewcontacts_content(&$a) { $contacts[] = array( 'id' => $rr['id'], 'img_hover' => sprintf( t('Visit %s\'s profile [%s]'), $rr['name'], $rr['url']), - 'thumb' => proxy_url($rr['thumb']), - 'name' => substr($rr['name'],0,20), - 'username' => $rr['name'], + 'thumb' => proxy_url($rr['thumb'], false, PROXY_SIZE_THUMB), + 'name' => htmlentities(substr($rr['name'],0,20)), + 'username' => htmlentities($rr['name']), 'url' => $url, 'sparkle' => '', 'itemurl' => $rr['url'], - 'network' => network_to_name($rr['network']), + 'network' => network_to_name($rr['network'], $rr['url']), ); }