[BUGFIX] Check if folder is within the filemount 93/47793/6
authorFrans Saris <franssaris@gmail.com>
Tue, 19 Apr 2016 16:04:20 +0000 (18:04 +0200)
committerFrans Saris <franssaris@gmail.com>
Wed, 20 Apr 2016 15:45:23 +0000 (17:45 +0200)
commitae981c9c05acf813c8637ad38f76723f0277ae24
tree4f5ca4ed42b5f3779bdf671e949278232b0d57f3
parent077d5d9071df5f0b5df7217e2402b0eebe4017dd
[BUGFIX] Check if folder is within the filemount

Before using the filemount base folder as root for the
folder->getReadablePath() check if the folder is within the filemount.

Change-Id: I8a4436fb2a0e512c7d2d1fc50b9d08febae8b256
Resolves: #73735
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/47793
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Lorenz Ulrich <lorenz.ulrich@visol.ch>
Tested-by: Lorenz Ulrich <lorenz.ulrich@visol.ch>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/core/Classes/Resource/Folder.php