parent
b1b2eafa50
commit
77763fb856
|
@ -300,9 +300,8 @@ abstract class OC_Filestorage_Common extends OC_Filestorage {
|
|||
$path = '/' . $path;
|
||||
}
|
||||
|
||||
$chunks = explode('/', $path);
|
||||
$output = array();
|
||||
foreach ($chunks as $chunk) {
|
||||
foreach (explode('/', $path) as $chunk) {
|
||||
if ($chunk == '..') {
|
||||
array_pop($output);
|
||||
} else if ($chunk == '.') {
|
||||
|
|
Loading…
Reference in New Issue