[BUGFIX] Ensure unix like paths for temp files 93/36493/4
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:11:27 +0000 (15:11 +0100)
commite91cc1f7c79cbcb79bf6ff62e0be093087b531b1
tree1afb3e86b9fb19f0baac7153df2b1ee71763546a
parent225c23104017356440ec25eff6d41f7033c72383
[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/36493
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Mateusz WojtuƂa <matw88@gmail.com>
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