Skip to content
Snippets Groups Projects
Commit 7f6a037b authored by Robin Appelman's avatar Robin Appelman
Browse files

small fix for normalizing paths in archives

parent 50cc5d59
No related branches found
No related tags found
No related merge requests found
......@@ -38,10 +38,10 @@ class OC_Filestorage_Archive extends OC_Filestorage_Common{
return $this->archive->remove($path.'/');
}
public function opendir($path){
$path=$this->stripPath($path);
if(substr($path,-1)!=='/'){
$path.='/';
}
$path=$this->stripPath($path);
$files=$this->archive->getFolder($path);
$content=array();
foreach($files as $file){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment