[TASK] Remove wrong datasets in sanitizeLocalUrlValidPathsDataProvider 92/43092/3
authorNicole Cordes <typo3@cordes.co>
Mon, 7 Sep 2015 12:48:14 +0000 (14:48 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 7 Sep 2015 13:17:19 +0000 (15:17 +0200)
commitf635d8288f85d857dd033e63b2c0dce293aaf3e4
tree4857c334a13da9216a507fb11b765d9491eabdbf
parentdfdfc9c91c524523ca1ae7f0738d48db02f3cc1c
[TASK] Remove wrong datasets in sanitizeLocalUrlValidPathsDataProvider

Within the GeneralUtilityTest::sanitizeLocalUrlValidPathsDataProvider
are still wrong dataset unfortunately. As on Windows systems the
GeneralUtility::getIndpEnv('TYPO3_SITE_URL') results in
http://D:/AbsolutePathToTypo3Installation those test were moved to an
own DataProvider which makes sure the HTTP_HOST and SCRIPT_NAME are set
correctly before calling GeneralUtility::getIndpEnv().

Resolves: #69584
Releases: master, 6.2
Change-Id: I42e5ab3712f82f5cadd51a478769bc5cb184243f
Reviewed-on: http://review.typo3.org/43092
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php