Project

General

Profile

Actions

Bug #15231

closed

No error page shown when using simulatestatic even if alias doesn't exist

Added by Carlos Chiari almost 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-11-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

INSTALL tool enables the configuratioin of error handling if requested page doesn't exist.

Yet, the mechanism at class.tslib_fe.php doesn't recognize this as an error (maybe feature?) 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.

Modifiying two functions at class.tslib_fe.php would enable this behavior:

function fetch_the_id()

and

function checkAndSetAlias().

I attach a file with the modifications.

Maybe it could inserted into core, as there are many extensions out there already extending tslib_fe....
(issue imported from #M1915)


Files

tslib_fe.modifiedfunctions.php (3.59 KB) tslib_fe.modifiedfunctions.php Administrator Admin, 2005-11-23 15:10
class.tslib_fe.php.simulatestatic.patch (280 Bytes) class.tslib_fe.php.simulatestatic.patch Administrator Admin, 2005-11-29 04:32

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #15130: Error 404: Page not found handling not working correctly with SimulateStaticDocuments=1Closed2005-10-20

Actions
Actions

Also available in: Atom PDF