Contact names with ">" and "<" are a problem ...

This commit is contained in:
Michael Vogel 2015-10-09 07:39:38 +02:00
commit 16da708e07
4 changed files with 17 additions and 11 deletions

View file

@ -139,7 +139,7 @@ function dirfind_content(&$a, $prefix = "") {
$o .= replace_macros($tpl,array(
'$url' => zrl($jj->url),
'$name' => $jj->name,
'$name' => htmlentities($jj->name),
'$photo' => proxy_url($jj->photo, false, PROXY_SIZE_THUMB),
'$tags' => $jj->tags,
'$conntxt' => $conntxt,