Skip to content

[BUGFIX] Register the blinded configuration options event listener - #36

Merged
bmack merged 1 commit into
mainfrom
fix/v14-event-listener-registration
Sep 10, 2026
Merged

[BUGFIX] Register the blinded configuration options event listener#36
bmack merged 1 commit into
mainfrom
fix/v14-event-listener-registration

Conversation

@bmack

@bmack bmack commented Sep 3, 2026

Copy link
Copy Markdown
Member

The BlindedConfigurationOptionsHook used Symfony's AsEventListener attribute, which TYPO3 does not autoconfigure (it only autoconfigures its own TYPO3\CMS\Core\Attribute\AsEventListener, and only since v13). The extension also shipped no Configuration/Services.yaml, so nothing was registered in the container at all.

Result: the redis password was never blinded in the backend "Configuration" module — on v12.4, v13.4 or v14.3.

Registering the listener with the event.listener service tag works identically on all three versions. Verified against real 12.4 / 13.4 / 14.3.6 installs that the listener now reaches ListenerProvider (and that the attribute version registered nothing).

Also: php constraint ^8.0^8.1 (no supported TYPO3 runs on 8.0), typo3/cms-lowlevel added to suggest, and the README no longer claims v8 support or the pre-v12 config filenames.

The listener used Symfony's AsEventListener attribute, which TYPO3 does
not autoconfigure, and the extension shipped no Configuration/Services.yaml
at all - so the redis password was never blinded in the backend
"Configuration" module on v12, v13 or v14.

Register it via the event.listener service tag instead, which works on all
supported versions.
@bmack
bmack requested a review from achimfritz September 3, 2026 23:14

@achimfritz achimfritz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bmack
bmack merged commit fa15eb8 into main Sep 10, 2026
@bmack
bmack deleted the fix/v14-event-listener-registration branch September 10, 2026 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants