[TYPO3-core] Bug # 1915: PageNotFound does not work with bogus aliases
Michael Scharkow
michael at underused.org
Tue Dec 13 10:43:22 CET 2005
This is a CVS patch request.
Bugtracker reference:
http://bugs.typo3.org/view.php?id=1915
Type:
Bugfix
Branches:
HEAD,3.8 (preferably together with Kaspers 404 HTTP-Header Fix)
User writes:
The mechanism at class.tslib_fe.php doesn't recognize this as an error
if an unexisting alias is used.
If the $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] is set, I would
expect that TYPO3 recognizes that I do not want bogus aliases rendering
my root page.
Solution:
* If getPageIdFromAlias does not return a PID, set pageNotFound
Greetings,
Michael
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: class.tslib_fe-alias_error.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051213/02009d53/attachment.diff
More information about the TYPO3-team-core
mailing list