[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 00:53:26 CET 2009


Oliver Hader wrote:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=10451
> 
> Branch: TYPO3_4-2
> 
> Problem:
> The method tslib_fe::checkAlternativeIdMethods() in TSFE tries to fetch
> the server environment PATH_INFO and if there's something it expects an
> URL like "/index.php/<page-id>/<type-number>/" and sets the current id
> and type accordant.
> 
> However, if config.simulateStaticDocuments is not set to "PATH_INFO"
> this is a false positive.
> 
> 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.
> 
> 
> olly
> 
Hey Olly,

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?

Thanks,
jeff


More information about the TYPO3-team-core mailing list