[BUGFIX] Ignore open_basedir warning for files outside the website root 94/52694/2
authorChristian Toffolo <ian@webian.it>
Wed, 26 Apr 2017 14:33:39 +0000 (16:33 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 3 May 2017 11:29:03 +0000 (13:29 +0200)
commitf187f599645a96a74c25c5e5bf04847e4c570838
treed565289f7ed240a108ef31c78b6453a11cd820b9
parented8c7bd7a0c0bfac09631bf71cb35b6399d940ec
[BUGFIX] Ignore open_basedir warning for files outside the website root

Suppress warnings generated by getFilenameFromMainDir() when it needs
to check file paths outside the website root and open_basedir
is in effect.

Resolves: #81024
Releases: master, 8.7
Change-Id: Ia339c907577547374545c0a94393f698828523c7
Reviewed-on: https://review.typo3.org/52694
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
typo3/sysext/core/Classes/Resource/ResourceCompressor.php