aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-04-16 12:59:08 +0200
committerRobin Appelman <icewind@owncloud.com>2012-04-16 12:59:38 +0200
commitcfd0140e2faa250e6e90cbeb4ec2ca4dcceed2f4 (patch)
tree5623f496ed61199ac64f8bceb0db04bf9b6b4758 /core
parent3c182bdb351cd0f7938c9f9f022b44b4e530664d (diff)
downloadnextcloud-server-cfd0140e2faa250e6e90cbeb4ec2ca4dcceed2f4.tar.gz
nextcloud-server-cfd0140e2faa250e6e90cbeb4ec2ca4dcceed2f4.zip
fix 2 potential xss problems
Diffstat (limited to 'core')
-rw-r--r--core/templates/404.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/404.php b/core/templates/404.php
index 13a81010343..cd4f2b40bb2 100644
--- a/core/templates/404.php
+++ b/core/templates/404.php
@@ -10,6 +10,6 @@ if(!isset($_)){//also provide standalone error page
<ul>
<li class='error'>
<?php echo $l->t( 'Cloud not found' ); ?><br/>
- <p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p>
+ <p class='hint'><?php if(isset($_['file'])) echo htmlentities($_['file'])?></p>
</li>
</ul>