[TYPO3-core] RFC #12547: Bug: Default paths for Windows are not properly defined

Xavier Perseguers typo3 at perseguers.ch
Fri Nov 20 09:39:56 CET 2009


Hi,

>>> In $_SERVER I find these variables to be useful:
>>>
>>> Path = C:\Programme;C:\WINDOWS\system32
>>> SystemDrive = C:
>>> SystemRoot C:\WINDOWS
>>> windir => C:\WINDOWS
>>> TEMP = C:\DOKUME~1\Masi\LOKALE~1\Temp
>>> TMP = C:\DOKUME~1\Masi\LOKALE~1\Temp
>>> ComSpec = C:\WINDOWS\system32\cmd.exe
>>>
>>> For the default path I wouldn't use $Path itself but use $SytemRoot
>>> and $SystemRoot.'\system32'.
>> Thanks for the detailed info. As I don't have Windows myself, could you
>> provide a modified version of the patch?
> 
> Yes. But thinking again about it, the change will not change much. In the system directory are only,
> well, *system* files and binaries. Besides of cmd.exe the web server will probably not find any
> program of use.
> 
> We could use the "Path" environment variable, but I think that this might be used for an attack.

What about asking the few core members running TYPO3 on Windows what they actually use and need?

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-team-core mailing list