#110433typo3 configuration:show SYS/trustedHostsPattern shows double slashes
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
-
Georg Ringer commented and changed status
NewRejected <span data-processor="relativetime" data-value="2026-08-28T08:16:21+00:00" > 08/28/26, 08:16 </span>closing issue and opened one at https://github.com/TYPO3-Console/TYPO3-Console/issues/1226
This is not a core bug.
In TYPO3 v13 the
typo3 configuration:showcommand does not exist in core – the built-inConfigurationShowCommandwas 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