summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2011-04-18 10:10:17 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2011-04-18 10:10:17 +0200
commitd377a1518d43abb6a4bf8734d08aba258908b846 (patch)
tree582c250acc0272e48cc5523f482e389f5c3a6a12 /files
parent944a05b5887174d401481f39c771473d32f4e430 (diff)
downloadnextcloud-server-d377a1518d43abb6a4bf8734d08aba258908b846.tar.gz
nextcloud-server-d377a1518d43abb6a4bf8734d08aba258908b846.zip
also convert special chars to entities in the breadcrumb
Diffstat (limited to 'files')
-rw-r--r--files/templates/part.breadcrumb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/templates/part.breadcrumb.php b/files/templates/part.breadcrumb.php
index 4d11edb984a..da9544008b9 100644
--- a/files/templates/part.breadcrumb.php
+++ b/files/templates/part.breadcrumb.php
@@ -1,4 +1,4 @@
<a href="<?php echo link_to("files", "index.php?dir=/"); ?>"><img src="<?php echo image_path("", "actions/go-home.png"); ?>" alt="Root" /></a>
<?php foreach($_["breadcrumb"] as $crumb): ?>
- <a href="<?php echo link_to("files", "index.php?dir=".$crumb["dir"]); ?>"><?php echo $crumb["name"]; ?></a>
+ <a href="<?php echo link_to("files", "index.php?dir=".$crumb["dir"]); ?>"><?php echo htmlspecialchars($crumb["name"]); ?></a>
<?php endforeach; ?> \ No newline at end of file