#94077PathUtility.php PHP Warning: is_file(): open_basedir restriction in effect
Description
Since #93048 there is a new condition in /core/Classes/Utility/PathUtility.php line 54:
elseif (file_exists(Environment::getPublicPath() . '/' . $targetPath))
This check triggers a warning like:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/example.com/web/../typo3conf/ext/dce/Resources/Public/JavaScript/Contrib/codemirror/lib/codemirror.css?1620224059) is not within the allowed path[...]
Easy fix would be to suppress warning with “@file_exists” like in other parts.
Non-composer
TYPO3: 11.2
PHP: 7.4
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.