fix: [xss] resolved in the genericField of the single view

- as reported by SK-CERT
cli-modification-summary
iglocska 2022-09-18 18:27:39 +02:00
parent 85e8a35091
commit 09ff4eba53
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,9 @@ if (!empty($field['url'])) {
'<a href="%s%s">%s</a>',
$baseurl,
h($field['url']),
$string
h($string)
);
} else {
$string = h($string);
}
echo $string;