Issue Bug Rejected

#15794'/\' in path tempnam() path

Jens Hirschfeld 03/09/06, 14:38 updated 11/22/11, 14:25

Description

under windows the t3lib_div::tempnam() function retruns a path to the created tempfile with ‘/\’ in it.
with fopen() the path could be used.
but t3lib_div::unlink_tempfile() cant delete the tempfile, because the bachslash ‘\’ is in the path.

example:
t3lib_div::tempnam(‘fdf’);
returns: ‘D:/xampp/htdocs/dummy38/typo3temp/\fdf103.tmp’

if the backslash is removed in the path, the file could be successfully unlinked by unlink_tempfile().

Windows XP SP2
PHP Version 5.0.3
APACHE
(issue imported from #M2813)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.