Use htmlspecialchars to prevent attacks

This commit is contained in:
Alexander Klimov 2014-07-16 13:10:28 +02:00
parent e5fdf78c98
commit cb04c42bab

View File

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