[TYPO3-core] RFC Bug #10451: Evaluation PATH_INFO in tslib_fe::checkAlternativeIdMethods() sets false positives

Jeff Segars jsegars at alumni.rice.edu
Wed Feb 18 15:11:18 CET 2009


Oliver Hader wrote:
> Hi Jeff,
> 
> Oliver Hader schrieb:
>> Hi Jeff,
>>
>> Jeff Segars schrieb:
>>> Oliver Hader wrote:
>>>> Solution:
>>>> Check whether config.simulateStaticDocuments is set to "PATH_INFO" and
>>>> only then try to evaluate the id and type by the PATH_INFO information.
>>> In looking at the TSref, it appears that
>>> $TYPO3_CONF_VARS["FE"]["simulateStaticDocuments"] can also be set to
>>> PATH_INFO to use the setting globally.  Does it need to be accounted for
>>> also?
>> Good one! Yes, the TYPO3_CONF_VARS part is missing here - I'm going to
>> add this...
> 
> I checked this again and the additional check is not required in the
> patch of this RFC. $TSFE->getConfigArray() does exactly that what you
> pointed out and provides the merged information in
> $TSFE->config['config']['simulateStaticDocuments'].
> 
> olly

Cool...thanks for checking this out :) I haven't used 
simulateStaticDocuments in a long time so I wasn't sure what the 
behavior was.

Thanks,
Jeff


More information about the TYPO3-team-core mailing list