File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2121use phpMyFAQ \Session \Token ;
2222use phpMyFAQ \Translation ;
2323use phpMyFAQ \Utils ;
24+ use phpMyFAQ \Strings ;
2425use Symfony \Component \HttpFoundation \Request ;
2526
2627if (!defined ('IS_VALID_PHPMYFAQ ' )) {
7071 <?php foreach ($ crumbs as $ item ) : ?>
7172 <tr id="attachment_<?= $ item ->id ?> " title="<?= $ item ->thema ?> ">
7273 <td><?= $ item ->id ?> </td>
73- <td><?= $ item ->filename ?> </td>
74- <td><?= $ item ->record_lang ?> </td>
74+ <td><?= Strings:: htmlentities ( $ item ->filename ); ?> </td>
75+ <td><?= Strings:: htmlentities ( $ item ->record_lang ); ?> </td>
7576 <td><?= Utils::formatBytes ($ item ->filesize ) ?> </td>
76- <td><?= $ item ->mime_type ?> </td>
77+ <td><?= Strings:: htmlentities ( $ item ->mime_type ); ?> </td>
7778 <td>
7879 <button class="btn btn-danger btn-delete-attachment" title="<?= Translation::get ('ad_gen_delete ' ) ?> "
7980 data-attachment-id="<?= $ item ->id ?> "
You can’t perform that action at this time.
0 commit comments