[BUGFIX] t3lib_div::unlink_tempfile does not always work on Windows
authorStanislas Rolland <typo3@sjbr.ca>
Mon, 15 Oct 2012 20:41:39 +0000 (16:41 -0400)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 22 Oct 2012 15:58:44 +0000 (17:58 +0200)
commit34733d1e9acedb9c56d4b37c9bcd929692908b67
tree2f8e0497fa73eef8575100071fd05b8d491c4656
parentcf94bfe228a656c792d469256ef857fdb4af8405
[BUGFIX] t3lib_div::unlink_tempfile does not always work on Windows

Problem: The filename created by t3lib_div::tempnam may contain
backslashes.

Solution: Process the file name through t3lib_div::fixWindowsFilePath

Change-Id: I47f8fe39ffb29894d78ac28141b88ea7abf6fd2c
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #38699
Reviewed-on: http://review.typo3.org/12684
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php