Merge pull request #24944 from owncloud/fix_21173_stable9
stable9: normalize path in getInternalPath
This commit is contained in:
commit
4eb87be488
|
@ -188,6 +188,7 @@ class MountPoint implements IMountPoint {
|
|||
* @return string
|
||||
*/
|
||||
public function getInternalPath($path) {
|
||||
$path = Filesystem::normalizePath($path);
|
||||
if ($this->mountPoint === $path or $this->mountPoint . '/' === $path) {
|
||||
$internalPath = '';
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue