Bug #102193 ยป configPath.diff
vendor/typo3/cms-core/Classes/Utility/GeneralUtility.php | ||
---|---|---|
return $checkForBackPath($fileName);
|
||
}
|
||
if (str_starts_with($fileName, 'CONFIG:')) {
|
||
$fileName = str_replace('CONFIG:', Environment::getProjectPath() . '/config/', $fileName);
|
||
}
|
||
// Absolute path, but set to blank if not inside allowed directories.
|
||
if (PathUtility::isAbsolutePath($fileName)) {
|
||
if (str_starts_with($fileName, Environment::getProjectPath()) ||
|