Skip to content

Commit 4082765

Browse files
committed
xss protection
1 parent f822d0d commit 4082765

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/templates/admin/list_cron.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<table class="data-col2" width="800px">
8282
<tr>
8383
<td colspan=5 class="cron" style="padding: 0 0 0 4px;">
84-
<b><?php echo $data[$key]['CMD'] ?></b>
84+
<b><?php echo htmlspecialchars($data[$key]['CMD'], ENT_NOQUOTES) ?></b>
8585
</td>
8686
</tr>
8787
<tr>

web/templates/user/list_cron.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<table class="data-col2" width="800px">
6868
<tr>
6969
<td colspan=5 class="cron" style="padding: 0 0 0 4px;">
70-
<b><?php echo $data[$key]['CMD'] ?></b>
70+
<b><?php echo htmlspecialchars($data[$key]['CMD'], ENT_NOQUOTES) ?></b>
7171
</td>
7272
</tr>
7373
<tr>

0 commit comments

Comments
 (0)