Project

General

Profile

Actions

Task #98502

closed

Correct fallback to default error handler

Added by Georg Ringer over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2022-10-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The site module states:

Make sure to have at least 0 (not defined otherwise) configured in order to serve helpful error messages to your visitors.

however there is a strict comparison with the configured error codes which means that if e.g error 500 and 0 are configured but a 404 occurs, it is not handled.

checking 0 makes it easier for simple site setups having just 1 error page because only one configuration is needed.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #98702: Ensure code follows cgl rulesetClosed2022-10-22

Actions
Actions

Also available in: Atom PDF