Important: #102800 - File Abstraction Layer enforces absolute paths to match project root or lockRootPath
See forge#102800
Description
The File Abstraction Layer Local Driver has been adapted to verify whether a
given absolute file path is allowed in order to prevent access to files outside
the project root or to the additional root path restrictions defined in
$GLOBALS
.
The option $GLOBALS
has been
extended to support an array of root path prefixes to allow for multiple storages
to be listed. Beware that trailing slashes are enforced automatically.
It is suggested to use the new array-based syntax, which will be applied automatically once this setting is updated via Install Tool Configuration Wizard:
// Before
$GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath'] = '/var/extra-storage';
// After
$GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath'] = [
'/var/extra-storage1/',
'/var/extra-storage2/',
];
Copied!