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

Oliver Hader oliver at typo3.org
Wed Feb 18 11:00:23 CET 2009


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
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list