fix: [xss] resolved in the genericField of the single view
- as reported by SK-CERTcli-modification-summary
parent
85e8a35091
commit
09ff4eba53
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue