[TYPO3-core] RFC Bug #10451: Evaluation PATH_INFO in tslib_fe::checkAlternativeIdMethods() sets false positives
Oliver Hader
oliver at typo3.org
Fri Feb 20 16:16:31 CET 2009
Hi,
I'm going to commit the attached patch in some hours as a follow-up
since the previous patch introduced another bug or was not complete.
It's not possible to check config.simulateStaticDocuments at that point,
thus, evaluation the URL scheme "index.php/.../.../" must be enough as
indication that PATH_INFO was used.
Sorry for the confusion!
olly
Oliver Hader schrieb:
> 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
--
Oliver Hader
TYPO3 Release Manager 4.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0010451_followup.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090220/b116052c/attachment.txt
More information about the TYPO3-team-core
mailing list