We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 838d3e9 commit b3fdf2eCopy full SHA for b3fdf2e
lib/Controller/CategoryController.php
@@ -496,9 +496,11 @@ private function StreamParser($fileId)
496
$path = $line;
497
} elseif (substr($line, 0, 3) === '../') {
498
// relative one level up => remove the parent folder of the playlist file
499
- $line = substr($line, 3);
500
$path = $playlistFilePath;
501
- array_pop($path);
+ do {
+ $line = substr($line, 3);
502
+ array_pop($path);
503
+ } while (substr($line, 0, 3) === '../');
504
505
array_push($path, $line);
506
$path = implode('/', $path);
0 commit comments