From 74c72268c50226c88662a0a73c2cdbb0bc853edc Mon Sep 17 00:00:00 2001
From: Christoph Lehmann <christoph.lehmann@networkteam.com>
Date: Mon, 24 Apr 2023 10:34:58 +0200
Subject: [PATCH] [TASK] Make IGNORED_EXCEPTION_CODES accessible

This makes AbstractExceptionHandler::IGNORED_EXCEPTION_CODES public accessible in order to re-use it in custom error handlers.

Resolves: #100720
Releases: main, 11.5
Change-Id: Id9217d3bbf3b66982adceb485918e52bb5cddd56
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78735
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: core-ci <typo3@b13.com>
---
 typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php b/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php
index 41ce2e0f772b..1b46be738e67 100644
--- a/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php
+++ b/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php
@@ -42,7 +42,7 @@ abstract class AbstractExceptionHandler implements ExceptionHandlerInterface, Si
 
     protected bool $logExceptionStackTrace = false;
 
-    private const IGNORED_EXCEPTION_CODES = [
+    public const IGNORED_EXCEPTION_CODES = [
         1396795884, // Current host header value does not match the configured trusted hosts pattern
         1616175867, // Backend login request is rate limited
         1616175847, // Frontend login request is rate limited
-- 
GitLab