mirror of
https://github.com/nextcloud/server.git
synced 2026-07-16 13:23:11 -04:00
[Files] Use htmlspecialchars()
This commit is contained in:
parent
4860d03270
commit
85209287bb
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue