summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/part.list.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/templates/part.list.php')
-rw-r--r--apps/files/templates/part.list.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index 25763da57a8..86c2cc70766 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -34,9 +34,9 @@
<?php endif; ?>
<span class="nametext">
<?php if($file['type'] == 'dir'):?>
- <?php p($file['name']);?>
+ <?php print_unescaped(htmlspecialchars($file['name']));?>
<?php else:?>
- <?php p($file['basename']);?><span
+ <?php print_unescaped(htmlspecialchars($file['basename']));?><span
class='extension'><?php p($file['extension']);?></span>
<?php endif;?>
</span>