diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-28 19:41:37 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-28 19:41:37 -0500 |
commit | b5b48428ab359c92c63f41a80e32a17714f914d0 (patch) | |
tree | 8437c8e8fd27689d21d755cda7d6ba8a2cdcf5aa /apps/files/templates | |
parent | 9aefbea07467ba6e1bcedc87c85f98bc8d7e8398 (diff) | |
download | nextcloud-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.php | 5 |
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');?>")'> |