Skip to content
Permalink
Browse files Browse the repository at this point in the history
fix: [security] XSS in authkey comment field
  • Loading branch information
JakubOnderka committed Dec 4, 2020
1 parent 15f819a commit 0bfc0bf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -3,7 +3,7 @@ if (!empty($field['raw'])) {
$string = $field['raw'];
} else {
$value = Hash::extract($data, $field['path']);
$string = empty($value[0]) ? '' : $value[0];
$string = empty($value[0]) ? '' : h($value[0]);
}
if (!empty($field['url'])) {
if (!empty($field['url_vars'])) {
Expand Down

0 comments on commit 0bfc0bf

Please sign in to comment.