Issue Bug Closed

#110247Invalid/obsolete DB options in ConnectionDriverMiddlewaresProvider

Mathias Brodala 07/21/26, 13:20 updated 08/11/26, 08:51

Description

The ConnectionDriverMiddlewaresProvider blinds/masks sensitive configuration, however it evidently refers to DB connection options which were used before Doctrine DBAL was introduced in TYPO3v8:

    protected array $blindedConfigurationOptions = [
        'doctrine-dbal-driver-middlewares' => [
            'Raw' => [
                'Connections' => [
                    'Default' => [
                        'database' => '******',
                        'host' => '******',
                        'password' => '******',
                        'port' => '******',
                        'socket' => '******',
                        'username' => '******',
                    ],
                ],
            ],
        ],
    ];

Compare to the GlobalVariableProvider:

    protected array $blindedConfigurationOptions = [
        'TYPO3_CONF_VARS' => [
            // ...
            'DB' => [
                'database' => '******',
                'host' => '******',
                'password' => '******',
                'port' => '******',
                'socket' => '******',
                'username' => '******',
                'Connections' => [
                    'Default' => [
                        'dbname' => '******',
                        'host' => '******',
                        'password' => '******',
                        'port' => '******',
                        'user' => '******',
                        'unix_socket' => '******',
                    ],
                ],
            ],
            // ...
        ],
    ];

Reviews 3

History 47

  1. Stefan Bürk commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-07-29T14:55:08+00:00" > 07/29/26, 14:55 </span>

    Applied in changeset commit:5572dec86328d29aa900dac9baeb743ca416f9c3.