mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 06:37:56 -04:00
XSS fix.
This commit is contained in:
parent
c3130919c2
commit
5ac4830e75
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
<ul id="leftcontent">
|
||||
<?php foreach($_['apps'] as $app):?>
|
||||
<li <?php if($app['active']) echo 'class="active"'?> data-id="<?php echo $app['id'] ?>">
|
||||
<a href="?appid=<?php echo $app['id'] ?>"><?php echo $app['name'] ?></a>
|
||||
<a href="?appid=<?php echo $app['id'] ?>"><?php echo htmlentities($app['name']) ?></a>
|
||||
<span class="hidden">
|
||||
<?php OC_JSON::encodedPrint($app,false) ?>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Reference in a new issue