Skip to content
Snippets Groups Projects
Commit 5ac4830e authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files

XSS fix.

parent c3130919
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment