Issue Bug Closed

#100058Upgrade issue from v10 to v11 in legacy install with TrustedHostPattern

Julien Savard 03/01/23, 18:52 updated 04/03/25, 12:14

Description

Description :
At the end of the upgrade Wizard from v10 to v11 when everything is done it seems the TrustedHostPattern expect a new value.
TrustedHostPattern value was (in v10 before upgrade) :

‘trustedHostsPattern’ => ‘smto-typo.acc.internal.tld|app.smto-typo.acc.internal.tld|lb.smto-typo.acc.internal.tld|rp.smto-typo.acc.internal.tld|www.qual.external.tld|www.acc.external.tld’

TrustedHostPattern expected in the “Whoops”

‘trustedHostsPattern’ => ‘app.www.acc.internal.tld’,

internal.tld and external.tld are “censored” placeholder of my real domains.

Step to reproduce :
- Having a typo3 v10 legacy install
- Untar typo3_src-11.5.24.tar.gz in /var/www/html
- Remove symlink /var/www/html/public/typo3_src ( target = ../typo3_src-10.4.36 )
- Create symlink /var/www/html/public/typo3_src ( target = ../typo3_src-11.5.24 )
- touch /var/www/html/public/ENABLE_INSTALL_TOOL
- chown apache:apache ENABLE_INSTALL_TOOL
- run upgrade Wizard
- Try to log into backend
- cry with a whoops

Workaround :
Add the new URL in the TrustedHostPattern variable

Reviews 0

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