File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,14 +113,14 @@ protected function renderValidations() : string
113113 <td rowspan="<?= $ count ?> "><?= $ index + 1 ?> </td>
114114 <td rowspan="<?= $ count ?> "><?= $ item ['type ' ] ?> </td>
115115 <td rowspan="<?= $ count ?> "><?= $ count ?> </td>
116- <td><?= $ errors [0 ]['field ' ] ?? '' ?> </td>
117- <td><?= $ errors [0 ]['error ' ] ?? '' ?> </td>
116+ <td><?= \htmlentities ( $ errors [0 ]['field ' ] ?? '' ) ?> </td>
117+ <td><?= \htmlentities ( $ errors [0 ]['error ' ] ?? '' ) ?> </td>
118118 <td rowspan="<?= $ count ?> "><?= Debugger::roundSecondsToMilliseconds ($ item ['end ' ] - $ item ['start ' ]) ?> </td>
119119 </tr>
120120 <?php for ($ i = 1 ; $ i < $ count ; $ i ++): ?>
121121 <tr>
122- <td><?= $ errors [$ i ]['field ' ] ?> </td>
123- <td><?= $ errors [$ i ]['error ' ] ?> </td>
122+ <td><?= \htmlentities ( $ errors [$ i ]['field ' ]) ?> </td>
123+ <td><?= \htmlentities ( $ errors [$ i ]['error ' ]) ?> </td>
124124 </tr>
125125 <?php endfor ;
126126 endforeach ; ?>
You can’t perform that action at this time.
0 commit comments