Use htmlspecialchars to prevent attacks

This commit is contained in:
Alexander Klimov 2014-07-16 13:10:28 +02:00
parent e5fdf78c98
commit cb04c42bab
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ $contactHelper = $this->getHelper('ContactFlags');
if ($value): ?>
<br />
<?php
printf($format, $value);
printf($format, htmlspecialchars($value));
endif;
endforeach;
?>