[BUGFIX] Ensure unix like paths for temp files 07/36507/2
authorNicole Cordes <typo3@cordes.co>
Sat, 31 Jan 2015 11:18:32 +0000 (12:18 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 31 Jan 2015 14:12:15 +0000 (15:12 +0100)
commit3e62b91bbe9c8b1256f534c13f59a85aa4f269fb
tree085fbba101f32b738d65afcf33038aa2b135cb14
parentf4ac0264042725706791ec459481c219de790487
[BUGFIX] Ensure unix like paths for temp files

Using tempnam() on Windows systems returns paths containing backslashes.
As other paths inside the core are already transformed to paths using
forward slashes some string comparisons fail. This patch ensures correct
transforming of slashes after the usage of tempnam().

Releases: master, 6.2
Resolves: #64682
Change-Id: Ic85e06d9ed32c9f668efd5bb74b9bc14df367e1b
Reviewed-on: http://review.typo3.org/36507
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php