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

Oliver Hader oliver at typo3.org
Mon Feb 16 15:32:37 CET 2009


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.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090216/998244db/attachment.txt 


More information about the TYPO3-team-core mailing list