[TYPO3-v4] RFC #6001 and resulting #16656 : spaces in paths for IM/GM on Windows
Jigal van Hemert
jigal at xs4all.nl
Mon Dec 6 10:14:11 CET 2010
Hi,
In RFC #6001 [1] an issue was fixed in which spaces in path names were
allowed and commands passed to exec() were quoted.
In issue #16656 [2] it turns out that executing quoted commands is
problematic in PHP 5.2 (at least on Windows), due to a bug in PHP.
Quoted paths without spaces also don't work in these cases!
The workaround I found on various forums was to use the "short path"
names (a.k.a. DOS 8.3 names) and this is confirmed to work. But... not
all Windows versions (e.g. 2008) have support for short path names
enabled by default.
In short:
- PHP 5.3 : quoting paths works
- PHP 5.2 : quoting paths does not work (at least not in all versions),
short path names not always available, so adding path to im/gm in %PATH%
variable would be the solution.
Any suggestions for an approach to solve this gracefully?
[1] http://bugs.typo3.org/view.php?id=6001
[2] http://bugs.typo3.org/view.php?id=16656
--
Kind regards / met vriendelijke groet,
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-project-v4
mailing list