Skip to content
Snippets Groups Projects
Commit 354693f9 authored by Benni Mack's avatar Benni Mack Committed by Stefan Bürk
Browse files

[BUGFIX] Ensure AbstractExceptionHandler::IGNORED_EXCEPTION_CODES is protected

With #100720 the AbstractExceptionHandlers
const IGNORED_EXCEPTION_CODES was set from private
to public in order to allow to use it in subclasses.

However, public is making this a full public API,
which should be within the ExceptionHandler logic
in general.

For this reason, the constant is now changed from
public to protected.

Resolves: #100736
Relates: #100720
Releases: main, 11.5
Change-Id: I58427977c2217792ae854738f59527bdb2e8339e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78736


Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent bf09aeaf
Branches
Tags
No related merge requests found
......@@ -42,7 +42,7 @@ abstract class AbstractExceptionHandler implements ExceptionHandlerInterface, Si
protected bool $logExceptionStackTrace = false;
public const IGNORED_EXCEPTION_CODES = [
protected 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
......
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