diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-23 17:50:36 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-23 17:57:55 +0200 |
commit | 552aee93fa7174f541d0d4e6ef7d736819f2fc70 (patch) | |
tree | 05f3e41bf9c1f8ac0eb9a2cde5f79b3727a09065 | |
parent | 1791fbdc49041f9579de38ed8d4bfa9142322144 (diff) | |
download | nextcloud-server-552aee93fa7174f541d0d4e6ef7d736819f2fc70.tar.gz nextcloud-server-552aee93fa7174f541d0d4e6ef7d736819f2fc70.zip |
Fix urlencoding in the breadcrumb
-rw-r--r-- | apps/files/templates/part.breadcrumb.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/part.breadcrumb.php b/apps/files/templates/part.breadcrumb.php index 71b695f65f8..b75efb64d1b 100644 --- a/apps/files/templates/part.breadcrumb.php +++ b/apps/files/templates/part.breadcrumb.php @@ -1,6 +1,6 @@ <?php for($i=0; $i<count($_["breadcrumb"]); $i++): $crumb = $_["breadcrumb"][$i]; ?> <div class="crumb <?php if($i == count($_["breadcrumb"])-1) echo 'last';?> svg" data-dir='<?php echo urlencode($crumb["dir"]);?>' style='background-image:url("<?php echo OCP\image_path('core','breadcrumb.png');?>")'> - <a href="<?php echo $_['baseURL'].urlencode($crumb["dir"]); ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a> + <a href="<?php echo urlencode($_['baseURL'].$crumb["dir"]); ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a> </div> <?php endfor;?> |