try {
$smt = new Services_MediaTomb($user, $pass, $host, $port);
- $path = substr(urldecode($fullPath), strlen($prefix));
+ $path = substr($fullPath, strlen($prefix));
$container = $smt->getContainerByPath($path);
$listItems = array();
addPreviousItem($listItems, $fullPath);
foreach ($container->getContainers() as $subContainer) {
$listItems[] = getDirItem(
$subContainer->title,
- $fullPath . rawurlencode($subContainer->title) . '/'
+ pathEncode($fullPath . $subContainer->title) . '/'
);
}