[TYPO3-core] RFC: #7265: Submodules of Web module can't work with mod.php and the _DISPATCH system

Steffen Kamper info at sk-typo3.de
Thu Dec 18 19:42:03 CET 2008


FYI: committed to trunk and 4_2.

I don't think that we need this in 4_1, but i can do if someone 
"insists" :-)

vg Steffen

Steffen Kamper schrieb:
> Hi,
> 
> just found a case where the prefix is null, so there is the possibility 
> that the ? is the beginning of the string, indexOf will return 0.
> 
> So i changed
> if(string.indexOf("?"))
> to
> if(string.indexOf("?") != -1)
> 
> to be sure for all cases.
> 
> v3 is attached.
> 
> vg Steffen
> 


More information about the TYPO3-team-core mailing list