Project

General

Profile

Actions

Bug #17184

closed

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

Added by Andreas Balzer about 17 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-04-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions

Also available in: Atom PDF