[BUGFIX] Ignore open_basedir warning for files outside the website root 14/52614/4
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:20:26 +0000 (13:20 +0200)
commitaa2cd35ff07d690b9a4b71f79faa0af8dbd4de17
tree16ca1af250e7921ed91aca0b8077eb519068805b
parent56825d2f84f62a2eceac1db80e42d95391e07894
[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/52614
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Henrik Elsner <helsner@dfau.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Resource/ResourceCompressor.php