Issue Bug Rejected

#110433typo3 configuration:show SYS/trustedHostsPattern shows double slashes

Sergio Catalá 08/11/26, 09:10 updated 08/28/26, 08:16

Description

If I set `SYS|trustedHostsPattern` as:

```
$GLOBALS[‘TYPO3_CONF_VARS’][‘SYS’][‘trustedHostsPattern’] = ‘^www\.example\.com$’;
```

the following command:

```
php vendor/bin/typo3 configuration:show SYS/trustedHostsPattern
```

shows:

```
— system configuration
++ overridden configuration
[
- ‘SERVER_NAME’,
+ ‘^www\\.example\\.com$’,
```

It seems like a formatting bug. Most likely addslashes() is added due to security issues in CLI output once too many.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 2

  1. Anton Danilov commented <span data-processor="relativetime" data-value="2026-08-12T15:49:26+00:00" > 08/12/26, 15:49 </span>

    This is not a core bug.
    In TYPO3 v13 the typo3 configuration:show command does not exist in core – the built-in ConfigurationShowCommand was only added in 14.2.0. The output shown in the description was therefore produced by the third-party package https://github.com/TYPO3-Console/TYPO3-Console