Skip to content

Commit

Permalink
xss protection
Browse files Browse the repository at this point in the history
  • Loading branch information
serghey-rodin committed Aug 20, 2013
1 parent f822d0d commit 4082765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/templates/admin/list_cron.html
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion web/templates/user/list_cron.html
Expand Up @@ -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>
Expand Down

0 comments on commit 4082765

Please sign in to comment.