Escape partition comment when displaying

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-06-22 10:26:50 +02:00
parent 1cc7466db3
commit 792cd1262f

View File

@ -74,7 +74,7 @@ use PMA\libraries\Util; ?>
<span><?= $value; ?></span>
<span class="unit"><?= $unit; ?></span>
</td>
<td><?= $partition->getComment(); ?></td>
<td><?= htmlspecialchars($partition->getComment()); ?></td>
<?php foreach ($actionIcons as $action => $icon): ?>
<td>
<a href="tbl_structure.php<?= $url_query; ?>&amp;partition_maintenance=1&amp;sql_query=<?= urlencode(