Serghey Rodin 12 anni fa
parent
commit
4082765c65

+ 1 - 1
web/templates/admin/list_cron.html

@@ -81,7 +81,7 @@
                         <table class="data-col2" width="800px">
                         <table class="data-col2" width="800px">
                             <tr>
                             <tr>
                                 <td colspan=5 class="cron" style="padding: 0 0 0 4px;">
                                 <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>
                                 </td>
                             </tr>
                             </tr>
                             <tr>
                             <tr>

+ 1 - 1
web/templates/user/list_cron.html

@@ -67,7 +67,7 @@
                         <table class="data-col2" width="800px">
                         <table class="data-col2" width="800px">
                             <tr>
                             <tr>
                                 <td colspan=5 class="cron" style="padding: 0 0 0 4px;">
                                 <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>
                                 </td>
                             </tr>
                             </tr>
                             <tr>
                             <tr>