X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fviewcontacts.php;h=927a597524adaa7b17565aea86e629e75b4a1128;hb=367699f7854ca2b7160680ce5db553908890a611;hp=19bf0415c7f86b5daece0b5696250452ee24f8d1;hpb=1f0b759e2f6df7af4bc55571168bad3e3acbcd76;p=friendica.git diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php index 19bf0415c7..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 @@ -63,8 +63,8 @@ function viewcontacts_content(&$a) { 'id' => $rr['id'], 'img_hover' => sprintf( t('Visit %s\'s profile [%s]'), $rr['name'], $rr['url']), 'thumb' => proxy_url($rr['thumb'], false, PROXY_SIZE_THUMB), - 'name' => substr($rr['name'],0,20), - 'username' => $rr['name'], + 'name' => htmlentities(substr($rr['name'],0,20)), + 'username' => htmlentities($rr['name']), 'url' => $url, 'sparkle' => '', 'itemurl' => $rr['url'],