[TYPO3-core] RFC: URGENT Trouble with bugfix #3362

Dmitry Dulepov typo3 at accio.lv
Fri Jul 28 16:45:32 CEST 2006


Hi!

Michael Stucki wrote:
> This is a SVN patch request.
> 
> Problem:
> Ingo Renner has found a problem with Windows systems and recent 4.0.1:
> I did add a new check (kind of a security fix) that tests for SCRIPT_FILENAME, 
> however this happens at a place where t3lib_div is not loaded yet!

I would only change this:
	if (strtolower($thisPath) == strtolower($mainPath))
to this:
	if (strcasecmp($thisPath, $mainPath) == 0)
in addition to your change. Just makes it shorter and more clear.

+1.

Dmitry.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-team-core mailing list