Skip to content
Snippets Groups Projects
Commit ca1cb97d authored by Susanne Moog's avatar Susanne Moog Committed by Daniel Goerz
Browse files

[FEATURE] Introduce status report for ExceptionHandler

The DebugExceptionHandler will display full error messages
and stack traces and should not be used in production.

To mitigate the information disclosure, a new status report has
been introduced:
- if display errors is set to 1 (-> uses DebugExceptionHandler setting)
  and context is Production an Error is displayed
- if display errors is set to 1 (-> uses DebugExceptionHandler setting)
  and context is Development a Warning is displayed
- if the production exception handler setting is configured to use the
  DebugExceptionHandler an Error is displayed

Resolves: #89978
Releases: master
Change-Id: I0f4eb357cf2c0a8012ed2e12a8c9f63073d3a19c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62735


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarTobi Kretschmann <tobi@tobishome.de>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarTobi Kretschmann <tobi@tobishome.de>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
parent be650b8c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment