]> source.dussan.org Git - nextcloud-server.git/commitdiff
also convert special chars to entities in the breadcrumb
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 18 Apr 2011 08:10:17 +0000 (10:10 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 18 Apr 2011 08:10:17 +0000 (10:10 +0200)
files/templates/part.breadcrumb.php

index 4d11edb984aa123a14087de8d0deeb6932dea2e2..da9544008b99137d8f46a1fe1558373c9636ef88 100644 (file)
@@ -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