[BUGFIX] Do not use empty needle in strpos in SimpleFileBackend 32/58132/3
authorJigal van Hemert <jigal.van.hemert@typo3.org>
Sun, 2 Sep 2018 21:33:59 +0000 (23:33 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 3 Sep 2018 08:33:54 +0000 (10:33 +0200)
commit0f5839372e866e5a6fa026983a44b050cf60efbd
tree26acc4802684fb5e00265bd08aaee2be257a2766
parente147b0b0320dc7233738dbfe6bddd940d8b3f166
[BUGFIX] Do not use empty needle in strpos in SimpleFileBackend

This only happens on Windows as the call is inside a condition
that tests for Windows OS.

Releases: master
Resolves: #86091
Change-Id: I0e7801d9e80cf675cc6d99d35cf6dd95c2cace44
Reviewed-on: https://review.typo3.org/58132
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php