Issue Bug Closed

#17184t3lib_div::tempnam('anything_'); returns invalid path

Andreas Balzer 04/03/07, 17:08 updated 10/02/18, 12:32

Description

If you use t3lib_div::tempnam(‘anything_’); on Windows Vista 64 Bit (didn’t check for other systems), you’ll recieve an invalid path.
e.g.: C:/Program Files (x86)/typo3/htdocs/typo3wamp/typo3temp/\abcD974.tmp
notice that “/\“
Why does this happen and how can it be solved? Shouldn’t there only be \‘s on a Windows computer?

OS: Windows Vista 64 Bit Ultimate
executables like csstidy.exe (see sf.net) don’t work with such a filename
(issue imported from #M5352)

Reviews 0

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