Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix XSS on table structure
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jun 15, 2016
1 parent 8a142ab commit 7221357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/table/structure/display_table_stats.phtml
Expand Up @@ -3,7 +3,7 @@
<fieldset>
<legend><?= __('Information'); ?></legend>
<p> <strong> <?= __('Table comments: ') ?> </strong>
<?= isset($showtable['TABLE_COMMENT']) ? $showtable['TABLE_COMMENT'] : '';?>
<?= isset($showtable['TABLE_COMMENT']) ? htmlspecialchars($showtable['TABLE_COMMENT']) : '';?>
</p>
<a id="showusage"></a>

Expand Down

0 comments on commit 7221357

Please sign in to comment.