summaryrefslogtreecommitdiffstats
path: root/files/index.php
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-12-27 12:35:29 -0500
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-12-27 12:35:29 -0500
commit95b9f4ed2325240411d4e349277c743aef06de6c (patch)
tree31162a0eac610a6249b42a6c3bdeae3755a181be /files/index.php
parent5bff1c8ad1708cff4a61ef28a62901efc617ef01 (diff)
downloadnextcloud-server-95b9f4ed2325240411d4e349277c743aef06de6c.tar.gz
nextcloud-server-95b9f4ed2325240411d4e349277c743aef06de6c.zip
Fix folder names with + characters in it
Diffstat (limited to 'files/index.php')
-rw-r--r--files/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/index.php b/files/index.php
index 7e156130d8e..189917150ad 100644
--- a/files/index.php
+++ b/files/index.php
@@ -71,7 +71,7 @@ $breadcrumb = array();
$pathtohere = "";
foreach( explode( "/", $dir ) as $i ){
if( $i != "" ){
- $pathtohere .= "/$i";
+ $pathtohere .= "/".urlencode($i);
$breadcrumb[] = array( "dir" => $pathtohere, "name" => $i );
}
}