small fix for normalizing paths in archives
This commit is contained in:
parent
50cc5d5921
commit
7f6a037b8c
1 changed files with 1 additions and 1 deletions
|
@ -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){
|
||||
|
|
Loading…
Reference in a new issue