xss protection

This commit is contained in:
Serghey Rodin 2013-08-20 14:22:33 +03:00
commit 4082765c65
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@
<table class="data-col2" width="800px">
<tr>
<td colspan=5 class="cron" style="padding: 0 0 0 4px;">
<b><?php echo $data[$key]['CMD'] ?></b>
<b><?php echo htmlspecialchars($data[$key]['CMD'], ENT_NOQUOTES) ?></b>
</td>
</tr>
<tr>

View file

@ -67,7 +67,7 @@
<table class="data-col2" width="800px">
<tr>
<td colspan=5 class="cron" style="padding: 0 0 0 4px;">
<b><?php echo $data[$key]['CMD'] ?></b>
<b><?php echo htmlspecialchars($data[$key]['CMD'], ENT_NOQUOTES) ?></b>
</td>
</tr>
<tr>