summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-12-28 19:41:37 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2012-12-28 19:41:37 -0500
commitb5b48428ab359c92c63f41a80e32a17714f914d0 (patch)
tree8437c8e8fd27689d21d755cda7d6ba8a2cdcf5aa /apps/files/templates
parent9aefbea07467ba6e1bcedc87c85f98bc8d7e8398 (diff)
downloadnextcloud-server-b5b48428ab359c92c63f41a80e32a17714f914d0.tar.gz
nextcloud-server-b5b48428ab359c92c63f41a80e32a17714f914d0.zip
Replace %2F with / in breadcrumbs
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/part.breadcrumb.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/templates/part.breadcrumb.php b/apps/files/templates/part.breadcrumb.php
index f7b1a6076d8..a298f1ccc4b 100644
--- a/apps/files/templates/part.breadcrumb.php
+++ b/apps/files/templates/part.breadcrumb.php
@@ -1,6 +1,7 @@
<?php for($i=0; $i<count($_["breadcrumb"]); $i++):
- $crumb = $_["breadcrumb"][$i];
- $dir = str_replace('+', '%20', urlencode($crumb["dir"])); ?>
+ $crumb = $_["breadcrumb"][$i];
+ $dir = str_replace('+', '%20', urlencode($crumb["dir"]));
+ $dir = str_replace('%2F', '/', $dir); ?>
<div class="crumb <?php if($i == count($_["breadcrumb"])-1) echo 'last';?> svg"
data-dir='<?php echo $dir;?>'
style='background-image:url("<?php echo OCP\image_path('core', 'breadcrumb.png');?>")'>