Skip to content

Commit edc5884

Browse files
committed
fix: Use project-specific trustedHostsPattern for TYPO3 v13
- Changed from .*.* (any domain) to .*\.nr-textdb\.ddev\.site - Improves security by restricting to project subdomains only - Accepts v11/v12/v13/docs.nr-textdb.ddev.site - Rejects other domains and DDEV projects
1 parent f6726c1 commit edc5884

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.ddev/commands/web/install-v13

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ vendor/bin/typo3 setup \
5858
--no-interaction \
5959
--force
6060

61+
# Configure TYPO3 system settings
62+
echo "⚙️ Configuring TYPO3 system settings..."
63+
vendor/bin/typo3 configuration:set 'SYS/trustedHostsPattern' '.*\.nr-textdb\.ddev\.site'
64+
vendor/bin/typo3 configuration:set 'BE/debug' 1
65+
vendor/bin/typo3 configuration:set 'FE/debug' 1
66+
vendor/bin/typo3 configuration:set 'SYS/devIPmask' '*'
67+
vendor/bin/typo3 configuration:set 'SYS/displayErrors' 1
68+
6169
# Activate extensions
6270
echo "✅ Activating extensions..."
6371
vendor/bin/typo3 extension:setup --extension=backend || true

0 commit comments

Comments
 (0)